Home | History | Annotate | Download | only in panels

Lines Matching refs:web_contents_

55   web_contents_.reset(content::WebContents::Create(create_params));
56 extensions::SetViewType(web_contents_.get(), extensions::VIEW_TYPE_PANEL);
57 web_contents_->SetDelegate(this);
58 // web_contents_ may be passed to chrome_page_zoom::Zoom(), so it needs
60 ZoomController::CreateForWebContents(web_contents_.get());
61 content::WebContentsObserver::Observe(web_contents_.get());
65 SessionTabHelper::CreateForWebContents(web_contents_.get());
66 SessionTabHelper::FromWebContents(web_contents_.get())->SetWindowID(
69 FaviconTabHelper::CreateForWebContents(web_contents_.get());
70 PrefsTabHelper::CreateForWebContents(web_contents_.get());
72 web_contents_.get());
74 web_contents_->GetController().LoadURL(
79 // Cannot do a web_contents_.reset() because web_contents_.get() will
83 content::WebContents* contents = web_contents_.release();
88 if (!web_contents_.get())
92 FaviconTabHelper::FromWebContents(web_contents_.get());
212 CloseContents(web_contents_.get());
217 CHECK(!web_contents_.get());
241 if (!web_contents_.get())
245 web_contents_->GetRenderViewHost());
253 return web_contents_.get();
258 web_contents_->GetController().Reload(true);
263 web_contents_->GetController().ReloadIgnoringCache(true);
268 web_contents_->Stop();
272 chrome_page_zoom::Zoom(web_contents_.get(), zoom);