Lines Matching defs:WebContents

58 // WebContents is the core class in content/. A WebContents renders web content
62 // scoped_ptr<content::WebContents> web_contents(
63 // content::WebContents::Create(
64 // content::WebContents::CreateParams(browser_context)));
69 // That's it; go to your kitchen, grab a scone, and chill. WebContents will do
73 // Each WebContents has exactly one NavigationController; each
74 // NavigationController belongs to one WebContents. The NavigationController can
76 // WebContents, navigate it backwards/forwards, etc. See navigation_controller.h
78 class WebContents : public PageNavigator,
93 WebContents* opener;
108 // Creates a new WebContents.
109 CONTENT_EXPORT static WebContents* Create(const CreateParams& params);
112 // the SessionStorageNamespaceMap of the WebContents. This can happen if
113 // you duplicate a WebContents, try to reconstitute it from a saved state,
114 // or when you create a new WebContents based on another one (eg., when
119 // they should not be shared by multiple WebContents, and what bad things
121 CONTENT_EXPORT static WebContents* CreateWithSessionStorage(
125 // Returns a WebContents that wraps the RenderViewHost, or NULL if the
126 // render view host's delegate isn't a WebContents.
127 CONTENT_EXPORT static WebContents* FromRenderViewHost(
130 virtual ~WebContents() {}
138 // Gets the controller for this WebContents.
142 // Returns the user browser context associated with this WebContents (via the
153 // not guaranteed to match the current page in this WebContents. A typical
159 // displayed in this WebContents. It represents the current security
176 // Gets the RenderViewHost at coordinates (|x|, |y|) for this WebContents via
185 // Returns the WebContents embedding this WebContents, if any.
186 // If this is a top-level WebContents then it returns NULL.
187 virtual WebContents* GetEmbedderWebContents() const = 0;
189 // Gets the instance ID of the current WebContents if it is embedded
190 // within a BrowserPlugin. The instance ID of a WebContents uniquely
191 // identifies it within its embedder WebContents.
236 // this WebContents. Page IDs are specific to a given SiteInstance and
237 // WebContents, corresponding to a specific RenderView in the renderer.
242 // this WebContents.
252 // Return whether this WebContents is loading a resource.
255 // Returns whether this WebContents is waiting for a first-response for the
278 // Indicates whether the WebContents is being captured (e.g., for screenshots
299 // Get the last time that the WebContents was made visible with WasShown()
302 // Invoked when the WebContents becomes shown/hidden.
317 // Creates a new WebContents with the same state as this one. The returned
319 virtual WebContents* Clone() = 0;
368 // Returns true if this WebContents will notify about disconnection.
474 CONTENT_EXPORT static WebContents* FromJavaWebContents(
482 WebContents() {}