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

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: 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: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 7820cc24a29764bb8eb02ffc65cdd352d7a9757b..e55a9cd820a16c08c11cad45efc11014bfbf9875 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -206,7 +206,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_; }
@@ -406,7 +407,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_;

Powered by Google App Engine
This is Rietveld 408576698