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

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: rebase Created 4 years, 4 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 d7bb89dc03bae623b977c3fe29d96299e0401739..de3ffae1e32d766d2f1d6c097e5419b060ef8b46 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -250,6 +250,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);
Khushal 2016/08/17 04:45:34 Sorry about the rebase pain. :( You can move this
gfx::Size device_viewport_size() const { return device_viewport_size_; }
@@ -540,6 +541,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_;
Khushal 2016/08/17 04:45:34 Move to LayerTree.
float device_scale_factor_;
float painted_device_scale_factor_;

Powered by Google App Engine
This is Rietveld 408576698