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

Unified Diff: ui/events/blink/input_handler_proxy.h

Issue 2651883007: Re-landing "UMA metrics for fractions of wheel and touch scrolls blocked on the main thread." (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy.h
diff --git a/ui/events/blink/input_handler_proxy.h b/ui/events/blink/input_handler_proxy.h
index 09b44d0cffcc53f5e23bc75158cd3fc7ebd28eea..0d3f9c122d6eaca13c9fd18680745ba0a41347b9 100644
--- a/ui/events/blink/input_handler_proxy.h
+++ b/ui/events/blink/input_handler_proxy.h
@@ -118,6 +118,8 @@ class InputHandlerProxy
protected:
void RecordMainThreadScrollingReasons(blink::WebGestureDevice device,
uint32_t reasons);
+ void RecordScrollingThreadStatus(blink::WebGestureDevice device,
+ uint32_t reasons);
private:
friend class test::InputHandlerProxyTest;
@@ -245,6 +247,10 @@ class InputHandlerProxy
// passive events not to block scrolling.
int32_t touch_start_result_;
+ // The result of the last mouse wheel event. This value is used to determine
+ // whether the next wheel scroll is blocked on the Main thread or not.
+ int32_t mouse_wheel_result_;
+
base::TimeTicks last_fling_animate_time_;
// Used to record overscroll notifications while an event is being
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698