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

Unified Diff: cc/trees/layer_tree_impl.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: findbug 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 4be5f29f57a1513cb34b3c321e5687f9623d84de..f52941d430b9dc9e78ac781b3f7e12af163fb7b3 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -415,6 +415,8 @@ class CC_EXPORT LayerTreeImpl {
void set_top_controls_height(float top_controls_height);
float top_controls_height() const { return top_controls_height_; }
void PushTopControlsFromMainThread(float top_controls_shown_ratio);
+ void set_bottom_controls_height(float bottom_controls_height);
+ float bottom_controls_height() const { return bottom_controls_height_; }
void SetPendingPageScaleAnimation(
std::unique_ptr<PendingPageScaleAnimation> pending_animation);
@@ -545,6 +547,7 @@ class CC_EXPORT LayerTreeImpl {
// controls at the time of the last layout.
bool top_controls_shrink_blink_size_;
float top_controls_height_;
+ float bottom_controls_height_;
// The amount that the top controls are shown from 0 (hidden) to 1 (fully
// shown).
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698