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

Unified Diff: content/renderer/gpu/render_widget_compositor_delegate.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: content/renderer/gpu/render_widget_compositor_delegate.h
diff --git a/content/renderer/gpu/render_widget_compositor_delegate.h b/content/renderer/gpu/render_widget_compositor_delegate.h
index d157ed658006f891bb10444218542c4402869ac1..5c990cc2ba11a5e67854fd34b213ec446148a962 100644
--- a/content/renderer/gpu/render_widget_compositor_delegate.h
+++ b/content/renderer/gpu/render_widget_compositor_delegate.h
@@ -36,6 +36,12 @@ class CONTENT_EXPORT RenderWidgetCompositorDelegate {
float page_scale,
float top_controls_delta) = 0;
+ // Record use count of wheel/touch sources for scrolling on the compositor
+ // tread.
danakj 2017/03/16 15:19:21 thread
sahel 2017/03/17 21:02:34 Done.
+ virtual void RecordWheelAndTouchScrollingCount(
+ bool has_scrolled_by_wheel,
+ bool has_scrolled_by_touch) = 0;
+
// Notifies that the compositor has issed a BeginMainFrame.
virtual void BeginMainFrame(double frame_time_sec) = 0;

Powered by Google App Engine
This is Rietveld 408576698