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

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: vector->float in IPC 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_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 0f629ba9e93b43158e36f864b87c842949f487d7..8028fd781e34d0de9effd2a8b7e925c261dd1c5f 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -416,6 +416,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);
@@ -546,6 +548,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).

Powered by Google App Engine
This is Rietveld 408576698