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

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

Issue 2737653004: UMA metrics for use count of wheel and touch scrolls. (Closed)
Patch Set: boolean flags used instead of fieldbit 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..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() {}

Powered by Google App Engine
This is Rietveld 408576698