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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

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: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index ec1b85791ab2ba985900f3a9c31531b6b2e1d33a..4af6896da1edfa23af2e1cb3a0973994e4196cc0 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -1044,6 +1044,13 @@ void RenderWidgetCompositor::ApplyViewportDeltas(
top_controls_delta);
}
+void RenderWidgetCompositor::RecordWheelAndTouchScrollingCount(
+ bool has_scrolled_by_wheel,
+ bool has_scrolled_by_touch) {
+ delegate_->RecordWheelAndTouchScrollingCount(has_scrolled_by_wheel,
+ has_scrolled_by_touch);
+}
+
void RenderWidgetCompositor::RequestNewCompositorFrameSink() {
// If the host is closing, then no more compositing is possible. This
// prevents shutdown races between handling the close message and

Powered by Google App Engine
This is Rietveld 408576698