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

Unified Diff: cc/input/scroll_state_data.h

Issue 2486673008: Touchpad scroll latching enabled for Mac behind flag. (Closed)
Patch Set: mayPrecedeFling->precedeFling 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/scroll_state_data.h
diff --git a/cc/input/scroll_state_data.h b/cc/input/scroll_state_data.h
index 90339649f5ffbd475d17f5b36421923e1cae812e..a5e306486755f086d6622e5c0a9c0a49c5a3424c 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 precede_fling;
tdresser 2016/11/29 19:06:54 nit: precedes_fling?
sahel 2016/11/30 19:41:54 Sorry, English is not my first language., Done.
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.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698