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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test 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
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 9e33733cc4b55e355ebe6a7236dd285ac4695e6c..d23f88aab5afd5fdc02799d8e395bac3895bc024 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -725,18 +725,18 @@ gfx::Size RenderWidgetHostViewAndroid::GetPhysicalBackingSize() const {
return content_view_core_->GetPhysicalBackingSize();
}
-bool RenderWidgetHostViewAndroid::DoTopControlsShrinkBlinkSize() const {
+bool RenderWidgetHostViewAndroid::DoBrowserControlsShrinkBlinkSize() const {
// Whether or not Blink's viewport size should be shrunk by the height of the
// URL-bar.
return content_view_core_ &&
- content_view_core_->DoTopControlsShrinkBlinkSize();
+ content_view_core_->DoBrowserControlsShrinkBlinkSize();
}
float RenderWidgetHostViewAndroid::GetTopControlsHeight() const {
if (!content_view_core_)
return default_bounds_.x();
- // The height of the top controls.
+ // The height of the browser controls.
return content_view_core_->GetTopControlsHeightDip();
}
@@ -744,7 +744,7 @@ float RenderWidgetHostViewAndroid::GetBottomControlsHeight() const {
if (!content_view_core_)
return 0.f;
- // The height of the top controls.
+ // The height of the browser controls.
return content_view_core_->GetBottomControlsHeightDip();
}

Powered by Google App Engine
This is Rietveld 408576698