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

Unified Diff: content/renderer/input/input_event_filter.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
Index: content/renderer/input/input_event_filter.h
diff --git a/content/renderer/input/input_event_filter.h b/content/renderer/input/input_event_filter.h
index 6457fb6116ceff1fa2fe81b10fc0632ad08bb7dd..2f4b5f1eecb6aedaec3a3fce123ccce30535d069 100644
--- a/content/renderer/input/input_event_filter.h
+++ b/content/renderer/input/input_event_filter.h
@@ -65,6 +65,7 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
void DidRemoveInputHandler(int routing_id) override;
void DidOverscroll(int routing_id,
const DidOverscrollParams& params) override;
+ void DidStartFlinging(int routing_id) override;
void DidStopFlinging(int routing_id) override;
void NotifyInputEventHandled(int routing_id,
blink::WebInputEvent::Type type) override;
@@ -87,6 +88,7 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
void ForwardToHandler(const IPC::Message& message);
void SendMessage(std::unique_ptr<IPC::Message> message);
void SendMessageOnIOThread(std::unique_ptr<IPC::Message> message);
+ void SetIsFlingingInMainThreadEventQueue(int routing_id, bool is_flinging);
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
base::Callback<void(const IPC::Message&)> main_listener_;
« no previous file with comments | « content/renderer/android/synchronous_compositor_filter.cc ('k') | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698