Lines Matching refs:web_contents
19 #include "content/public/browser/web_contents.h"
40 explicit SelfDeletingRequestDelegate(content::WebContents* web_contents);
82 content::WebContents* web_contents)
83 : WebContentsObserver(web_contents) {
102 // Start loading the viewer URL of the current page in |web_contents|.
103 void StartNavigationToDistillerViewer(content::WebContents* web_contents,
109 web_contents->GetController().LoadURLWithParams(params);
112 void StartDistillation(content::WebContents* web_contents) {
113 // Start distillation using |web_contents|, and ensure ViewerHandle stays
116 new SelfDeletingRequestDelegate(web_contents);
117 scoped_ptr<content::WebContents> old_web_contents_sptr(web_contents);
122 web_contents->GetBrowserContext());
128 const GURL& last_committed_url = web_contents->GetLastCommittedURL();