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

Unified Diff: cc/input/input_handler.h

Issue 238803005: Scroll on main if impl-hit testing isn't guaranteed to be correct (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar test. Created 6 years, 8 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/trees/layer_tree_host_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index b26934548b9454e1252a80a30f0af39252f6b5f3..608003e5ca149ba13883dc553578f5da77374a62 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -51,7 +51,14 @@ class CC_EXPORT InputHandlerClient {
// interface and bind it to the handler on the compositor thread.
class CC_EXPORT InputHandler {
public:
- enum ScrollStatus { ScrollOnMainThread, ScrollStarted, ScrollIgnored };
+ enum ScrollStatus {
Alexei Svitkine (slow) 2014/04/16 14:24:11 Nit: Add a comment mentioning these are used in UM
+ ScrollOnMainThread = 0,
+ ScrollStarted,
+ ScrollIgnored,
+ ScrollUnknown,
+ // This must be the last entry.
+ ScrollStatusCount
+ };
enum ScrollInputType { Gesture, Wheel, NonBubblingGesture };
// Binds a client to this handler to receive notifications. Only one client
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698