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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 714003002: Allow changing top controls height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some more fixes Created 6 years, 1 month 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_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..4033fa48451b7ac476a7fa62e03fa383eaa843e6 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 GetTopControlsShrinkBlinkSize() 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.

Powered by Google App Engine
This is Rietveld 408576698