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

Unified Diff: third_party/WebKit/public/web/WebWidget.h

Issue 2737653004: UMA metrics for use count of wheel and touch scrolls. (Closed)
Patch Set: TODO for GRC usage added. 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 | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index 0fba421e9a371fd24f06733cd6be03ae74122762..574264702fea62b65e7897d800c674f362407292 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -134,6 +134,9 @@ class WebWidget {
float scaleFactor,
float browserControlsShownRatioDelta) {}
+ virtual void recordWheelAndTouchScrollingCount(bool hasScrolledByWheel,
+ bool hasScrolledByTouch) {}
+
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() {}
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698