Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: services/navigation/view_impl.cc

Issue 2400243002: Remove grow box rect support, browser part. (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/navigation/view_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/view_impl.cc
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
index 44f5ec79cc49e79496a91385d9d4eb3132c046d7..7de18b471fe3676d13d877d79a4e417e8a84b53a 100644
--- a/services/navigation/view_impl.cc
+++ b/services/navigation/view_impl.cc
@@ -130,10 +130,6 @@ 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,
@@ -211,13 +207,6 @@ 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::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
« no previous file with comments | « services/navigation/view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698