| Index: services/navigation/view_impl.cc
|
| diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
|
| index 722faa3179133f63d963be10b239fe4fe57f80cf..b241df86e199d4ba4dc49b4098885e70df37fb7e 100644
|
| --- a/services/navigation/view_impl.cc
|
| +++ b/services/navigation/view_impl.cc
|
| @@ -95,6 +95,10 @@ void ViewImpl::HideInterstitial() {
|
| web_view_->GetWebContents()->GetInterstitialPage()->Proceed();
|
| }
|
|
|
| +void ViewImpl::SetResizerSize(const gfx::Size& size) {
|
| + resizer_size_ = size;
|
| +}
|
| +
|
| void ViewImpl::AddNewContents(content::WebContents* source,
|
| content::WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| @@ -141,6 +145,17 @@ void ViewImpl::LoadProgressChanged(content::WebContents* source,
|
| client_->LoadProgressChanged(progress);
|
| }
|
|
|
| +void ViewImpl::UpdateTargetURL(content::WebContents* source, const GURL& url) {
|
| + client_->UpdateHoverURL(url);
|
| +}
|
| +
|
| +gfx::Rect ViewImpl::GetRootWindowResizerRect() const {
|
| + gfx::Rect bounds = web_view_->GetLocalBounds();
|
| + return gfx::Rect(bounds.right() - resizer_size_.width(),
|
| + bounds.bottom() - resizer_size_.height(),
|
| + resizer_size_.width(), resizer_size_.height());
|
| +}
|
| +
|
| void ViewImpl::OnEmbed(mus::Window* root) {
|
| DCHECK(!widget_.get());
|
| widget_.reset(new views::Widget);
|
|
|