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

Unified Diff: third_party/WebKit/public/web/WebWidget.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
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..ce979c10ac91fbdd7d5ac401344c488d5a762e6a 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,
dtapuska 2017/03/08 21:18:00 lower case the first letter according to the codin
sahel 2017/03/10 16:21:33 Done.
+ bool hasScrolledByTouch) {}
+
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() {}

Powered by Google App Engine
This is Rietveld 408576698