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

Unified Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

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/Source/web/WebViewFrameWidget.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index 7b662eba0c922c86733d48886116abb4573dd65f..7b2d239ecffce669dc5ea6ab7393c04a306324e0 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -107,6 +107,13 @@ void WebViewFrameWidget::applyViewportDeltas(
scaleFactor, browserControlsShownRatioDelta);
}
+void WebViewFrameWidget::RecordWheelAndTouchScrollingCount(
+ bool hasScrolledByWheel,
+ bool hasScrolledByTouch) {
+ return m_webView->RecordWheelAndTouchScrollingCount(hasScrolledByWheel,
+ hasScrolledByTouch);
+}
+
void WebViewFrameWidget::mouseCaptureLost() {
return m_webView->mouseCaptureLost();
}

Powered by Google App Engine
This is Rietveld 408576698