Lines Matching refs:web_contents_
26 : web_contents_(web_contents.Pass()) {
27 DCHECK(web_contents_);
34 return web_contents_.Pass();
63 web_contents_ = optional_web_contents_handle->GetWebContents().Pass();
65 render_view_size_ = web_contents_->GetContainerBounds().size();
70 if (web_contents_)
71 web_contents_->SetDelegate(NULL);
81 if (web_contents_ && web_contents_->GetLastCommittedURL() == url) {
83 WebContentsMainFrameObserver::FromWebContents(web_contents_.get());
93 content::WebContentsObserver::Observe(web_contents_.get());
109 web_contents_.reset(content::WebContents::Create(create_params));
110 DCHECK(web_contents_.get());
112 web_contents_->SetDelegate(this);
115 content::WebContentsObserver::Observe(web_contents_.get());
117 web_contents_->GetController().LoadURLWithParams(params);
136 if (render_frame_host == web_contents_->GetMainFrame()) {
156 content::RenderFrameHost* frame = web_contents_->GetMainFrame();
161 web_contents_->Stop();
167 web_contents_->GetLastCommittedURL()));