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

Unified Diff: content/renderer/input/main_thread_event_queue.h

Issue 1923973002: Add UMA metric for tracking listeners for blocking touch while fling is happening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comments in histogram Created 4 years, 7 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 | « content/renderer/input/input_handler_wrapper.cc ('k') | content/renderer/input/main_thread_event_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/main_thread_event_queue.h
diff --git a/content/renderer/input/main_thread_event_queue.h b/content/renderer/input/main_thread_event_queue.h
index 0eb2d147f8970e9aac457503e80a691300fb5fa5..6a99636a9a0d2f0851d7404b89778eb676a733a8 100644
--- a/content/renderer/input/main_thread_event_queue.h
+++ b/content/renderer/input/main_thread_event_queue.h
@@ -106,12 +106,15 @@ class CONTENT_EXPORT MainThreadEventQueue {
// in flight.
void EventHandled(blink::WebInputEvent::Type type);
+ void set_is_flinging(bool is_flinging) { is_flinging_ = is_flinging; }
+
private:
friend class MainThreadEventQueueTest;
int routing_id_;
MainThreadEventQueueClient* client_;
WebInputEventQueue<PendingMouseWheelEvent> wheel_events_;
WebInputEventQueue<PendingTouchEvent> touch_events_;
+ bool is_flinging_;
DISALLOW_COPY_AND_ASSIGN(MainThreadEventQueue);
};
« no previous file with comments | « content/renderer/input/input_handler_wrapper.cc ('k') | content/renderer/input/main_thread_event_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698