Lines Matching refs:web_contents_
147 web_contents_ = content::WebContents::Create(web_contents_params); in ChromeKeyboardWebContents()
148 web_contents_->SetDelegate(new ChromeKeyboardContentsDelegate()); in ChromeKeyboardWebContents()
150 extensions::SetViewType(web_contents_.get(), extensions::VIEW_TYPE_COMPONENT); in ChromeKeyboardWebContents()
152 web_contents_.get()); in ChromeKeyboardWebContents()
153 Observe(web_contents_.get()); in ChromeKeyboardWebContents()
156 aura::Window* keyboard_window = web_contents_->GetNativeView(); in ChromeKeyboardWebContents()
161 web_contents_->GetMainFrame()->GetView(); in ChromeKeyboardWebContents()
179 if (web_contents_) { in ~ChromeKeyboardWebContents()
180 web_contents_->ClosePage(); in ~ChromeKeyboardWebContents()
181 web_contents_->GetNativeView()->RemoveObserver(this); in ~ChromeKeyboardWebContents()
182 web_contents_.reset(); in ~ChromeKeyboardWebContents()
187 GURL old_url = web_contents_->GetURL(); in SetKeyboardUrl()
197 web_contents_->GetNativeView()->SetBounds(gfx::Rect()); in SetKeyboardUrl()
198 web_contents_->ClosePage(); in SetKeyboardUrl()
207 gfx::Rect bounds = web_contents_->GetNativeView()->bounds(); in SetInitialContentsSize()
209 web_contents_->GetNativeView()->SetBounds(bounds); in SetInitialContentsSize()
234 web_contents_->OpenURL(params); in LoadContents()