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

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: adding some breaks. 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..774e0114932fee484b3d7e493df8dde0ad105b1e 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -51,7 +51,16 @@ 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 };
+ // Note these are used in a histogram. Do not reorder or delete existing
+ // entries.
+ enum ScrollStatus {
+ 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