Index: content/browser/renderer_host/render_widget_host_view_base.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h |
index 98e09148b3a28d230bf4bfdaafc526b801837743..a0fd60af23bf8e91a8cfa65fa9a3f609a1b046fa 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.h |
+++ b/content/browser/renderer_host/render_widget_host_view_base.h |
@@ -120,8 +120,12 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
// The size of the view's backing surface in non-DPI-adjusted pixels. |
virtual gfx::Size GetPhysicalBackingSize() const; |
- // The amount that the viewport size given to Blink is shrunk by the URL-bar. |
- virtual float GetTopControlsLayoutHeight() const; |
+ // Whether or not Blink's viewport size should be shrunk by the height of the |
+ // URL-bar. |
+ virtual bool DoTopControlsShrinkBlinkSize() const; |
+ |
+ // The height of the URL-bar top controls. |
+ virtual float GetTopControlsHeight() const; |
// Called prior to forwarding input event messages to the renderer, giving |
// the view a chance to perform in-process event filtering or processing. |