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

Unified Diff: cc/input/scroll_state_data.h

Issue 2486673008: Touchpad scroll latching enabled for Mac behind flag. (Closed)
Patch Set: nit fixed Created 4 years 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/scroll_state_data.h
diff --git a/cc/input/scroll_state_data.h b/cc/input/scroll_state_data.h
index 90339649f5ffbd475d17f5b36421923e1cae812e..62a197a2d26edd3cea43eebcdad2ec577b1604e5 100644
--- a/cc/input/scroll_state_data.h
+++ b/cc/input/scroll_state_data.h
@@ -32,6 +32,9 @@ class CC_EXPORT ScrollStateData {
bool is_beginning;
bool is_in_inertial_phase;
bool is_ending;
+ // True if the next ScrollBegin is in inertial_phase (is_beginning &&
+ // in_inertial_phase). May only be true if is_ending == true.
+ bool precedes_fling;
aelias_OOO_until_Jul13 2016/12/02 05:17:56 It's confusing to add a special boolean to the scr
sahel 2016/12/13 19:14:23 -Done. -GSE don't have any scroll delta. I confirm
bool should_propagate;
bool from_user_input;
« no previous file with comments | « no previous file | cc/input/scroll_state_data.cc » ('j') | content/browser/renderer_host/input/mouse_wheel_event_queue.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698