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

Unified Diff: cc/trees/layer_tree_host.h

Issue 2106753004: Introduce bottom controls to CC and let it respond to scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change to height and ratio Created 4 years, 5 months 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 26560e7facc54de59aeac0c710b117231a05baf0..5c65e402321013ce166b23754f0ec83a5f9c6b05 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -251,6 +251,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
void SetViewportSize(const gfx::Size& device_viewport_size);
void SetTopControlsHeight(float height, bool shrink);
void SetTopControlsShownRatio(float ratio);
+ void setBottomControlHeight(float height);
gfx::Size device_viewport_size() const { return device_viewport_size_; }
@@ -552,6 +553,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
bool top_controls_shrink_blink_size_;
float top_controls_height_;
float top_controls_shown_ratio_;
+ float bottom_controls_height_;
float device_scale_factor_;
float painted_device_scale_factor_;

Powered by Google App Engine
This is Rietveld 408576698