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

Unified Diff: cc/input/browser_controls_offset_manager.h

Issue 2442473002: Controls offsets computed if either top or bottom are showing (Closed)
Patch Set: rebase Created 4 years, 1 month 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/input/browser_controls_offset_manager.h
diff --git a/cc/input/browser_controls_offset_manager.h b/cc/input/browser_controls_offset_manager.h
index 401487c7aa2a2c37d65f980341bc2d95906fc090..aa35f52dbb87b9f1025a07d48362a847e90069db 100644
--- a/cc/input/browser_controls_offset_manager.h
+++ b/cc/input/browser_controls_offset_manager.h
@@ -95,8 +95,9 @@ class CC_EXPORT BrowserControlsOffsetManager
// Accumulated scroll delta since last baseline reset
float accumulated_scroll_delta_;
- // Content offset when last baseline reset occurred
- float baseline_content_offset_;
+ // Content offset when last baseline reset occurred.
+ float baseline_top_content_offset_;
+ float baseline_bottom_content_offset_;
aelias_OOO_until_Jul13 2016/11/04 04:35:09 I tried Chrome Home flag locally and observed the
mdjones 2016/11/05 00:17:26 The issue with the bottom bar overlapping is addre
aelias_OOO_until_Jul13 2016/11/05 00:47:15 This bug can't be fixed properly with a change to
mdjones 2016/11/07 17:14:45 I think what you are talking about may have alread
aelias_OOO_until_Jul13 2016/11/08 00:37:46 Yeah, OK, I see the appropriate code exists in CC
// The percent height of the visible control such that it must be shown
// when the user stops the scroll.
« no previous file with comments | « no previous file | cc/input/browser_controls_offset_manager.cc » ('j') | cc/input/browser_controls_offset_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698