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

Unified Diff: content/common/view_messages.h

Issue 714003002: Allow changing top controls height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index fb91f4522132d4bfa27832d1735fa9a0404339dd..d917c694f416ab6cc58e9b3c42cc96383c82f3de 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -420,9 +420,12 @@ IPC_STRUCT_BEGIN(ViewMsg_Resize_Params)
IPC_STRUCT_MEMBER(gfx::Size, new_size)
// The size of the view's backing surface in non-DPI-adjusted pixels.
IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size)
- // The amount that the viewport size given to Blink was shrunk by the URL-bar
- // (always 0 on platforms where URL-bar hiding isn't supported).
- IPC_STRUCT_MEMBER(float, top_controls_layout_height)
+ // Whether or not Blink's viewport size should be shrunk by the height of the
+ // URL-bar (always false on platforms where URL-bar hiding isn't supported).
+ IPC_STRUCT_MEMBER(bool, top_controls_shrink_blink_size)
+ // The height of the top controls (always 0 on platforms where URL-bar hiding
+ // isn't supported).
+ IPC_STRUCT_MEMBER(float, top_controls_height)
// The size of the visible viewport, which may be smaller than the view if the
// view is partially occluded (e.g. by a virtual keyboard). The size is in
// DPI-adjusted pixels.

Powered by Google App Engine
This is Rietveld 408576698