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

Unified Diff: cc/input/input_handler.h

Issue 2737653004: UMA metrics for use count of wheel and touch scrolls. (Closed)
Patch Set: layouttest updated. Created 3 years, 9 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/test/layer_tree_test.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')
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 7e6124c0a07297a9461a81bc7950a0e31b9dd13b..04457623cfc0553f8982bff3d79607de801ba469 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -110,6 +110,13 @@ class CC_EXPORT InputHandler {
HANDLER_ON_SCROLLING_LAYER
};
+ enum ScrollSourceInfo {
+ NONE,
+ SCROLLED_BY_TOUCH,
bokan 2017/03/09 17:31:03 Make this a bitfield. i.e. SCROLLED_BY_TOUCH = 0x1
sahel 2017/03/10 16:21:33 Done.
+ SCROLLED_BY_WHEEL,
+ SCROLLED_BY_TOUCH_AND_WHEEL,
+ };
+
// Binds a client to this handler to receive notifications. Only one client
// can be bound to an InputHandler. The client must live at least until the
// handler calls WillShutdown() on the client.
« no previous file with comments | « no previous file | cc/test/layer_tree_test.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698