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

Unified Diff: cc/top_controls_manager.h

Issue 11953040: Add a scroll threshold/marker to control hiding/showing top controls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo Created 7 years, 11 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 | « no previous file | cc/top_controls_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/top_controls_manager.h
diff --git a/cc/top_controls_manager.h b/cc/top_controls_manager.h
index 6ecd352e03c9c7800398c22ed0c7f7e0b110d3f5..a6900038625d1a38964a44812612dfa8894a80b4 100644
--- a/cc/top_controls_manager.h
+++ b/cc/top_controls_manager.h
@@ -68,11 +68,12 @@ class CC_EXPORT TopControlsManager {
scoped_ptr<KeyframedFloatAnimationCurve> top_controls_animation_;
AnimationDirection animation_direction_;
bool is_overlay_mode_;
- bool scroll_readjustment_enabled_;
+ bool in_scroll_gesture_;
float controls_top_offset_;
float content_top_offset_;
float top_controls_height_;
float previous_root_scroll_offset_;
+ float scroll_start_offset_;
DISALLOW_COPY_AND_ASSIGN(TopControlsManager);
};
« no previous file with comments | « no previous file | cc/top_controls_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698