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

Unified Diff: cc/input/scroll_state_data.h

Issue 2486673008: Touchpad scroll latching enabled for Mac behind flag. (Closed)
Patch Set: 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..314bacf9a52f5f7325824d7b713db3bdd77c5cfc 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 event may be the start of a fling (is_beginning &&
+ // in_inertial_phase). May only be true if is_ending == true.
+ bool may_precede_fling;
tdresser 2016/11/14 16:02:29 It might be worth using a three valued enum instea
sahel 2016/11/18 16:13:58 is_ending now is handled very similarly to is_begi
tdresser 2016/11/22 21:44:40 Acknowledged.
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