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

Unified Diff: cc/trees/layer_tree_host.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
« no previous file with comments | « cc/input/top_controls_manager_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index de91b764e864398d881a0a6d409fc3b40c737579..054c02d894ed2887cc82c49323e38c9e60cd81e6 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -210,7 +210,8 @@ class CC_EXPORT LayerTreeHost {
bool UseGpuRasterization() const;
void SetViewportSize(const gfx::Size& device_viewport_size);
- void SetTopControlsLayoutHeight(float height);
+ void SetTopControlsShrinkBlinkSize(bool shrink);
+ void SetTopControlsHeight(float height);
void SetTopControlsContentOffset(float offset);
gfx::Size device_viewport_size() const { return device_viewport_size_; }
@@ -413,7 +414,8 @@ class CC_EXPORT LayerTreeHost {
LayerTreeDebugState debug_state_;
gfx::Size device_viewport_size_;
- float top_controls_layout_height_;
+ bool top_controls_shrink_blink_size_;
+ float top_controls_height_;
float top_controls_content_offset_;
float device_scale_factor_;
« no previous file with comments | « cc/input/top_controls_manager_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698