Lines Matching defs:web_contents

27 #include "content/browser/web_contents/web_contents_impl.h"
28 #include "content/browser/web_contents/web_contents_view.h"
124 InterstitialPage* InterstitialPage::Create(WebContents* web_contents,
129 web_contents,
131 static_cast<WebContentsImpl*>(web_contents)),
136 WebContents* web_contents) {
139 g_web_contents_to_interstitial_page->find(web_contents);
147 WebContents* web_contents,
152 : WebContentsObserver(web_contents),
153 web_contents_(web_contents),
155 &web_contents->GetController())),
172 static_cast<WebContentsImpl*>(web_contents)),
173 original_child_id_(web_contents->GetRenderProcessHost()->GetID()),
174 original_rvh_id_(web_contents->GetRenderViewHost()->GetRoutingID()),
187 DCHECK(new_navigation || !web_contents->GetController().GetPendingEntry());
552 WebContents* InterstitialPageImpl::web_contents() const {
562 BrowserContext* browser_context = web_contents()->GetBrowserContext();
582 static_cast<WebContentsImpl*>(web_contents())->GetView();
588 int32 max_page_id = web_contents()->
597 view->SetSize(web_contents()->GetContainerBounds().size());
851 Source<WebContents>(web_contents()),
899 WebContents* web_contents = interstitial_page_->web_contents();
900 if (web_contents && web_contents->GetDelegate())
901 web_contents->GetDelegate()->WebContentsFocused(web_contents);
906 if (!interstitial_page_->web_contents())
908 WebContentsImpl* web_contents =
909 static_cast<WebContentsImpl*>(interstitial_page_->web_contents());
910 if (!web_contents->GetDelegateView())
913 web_contents->GetDelegateView()->TakeFocus(reverse);