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

Unified Diff: content/renderer/idle_user_detector.h

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Rebase 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 | « content/renderer/gpu/gpu_benchmarking_extension.cc ('k') | content/renderer/idle_user_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/idle_user_detector.h
diff --git a/content/renderer/idle_user_detector.h b/content/renderer/idle_user_detector.h
index 8d55af7ddc661a4d7a57409fa022560ea6bb03eb..0fd24ede6f37d0824e111d2720a1a93de73b4d7b 100644
--- a/content/renderer/idle_user_detector.h
+++ b/content/renderer/idle_user_detector.h
@@ -9,6 +9,8 @@
#include "content/common/input/input_event_dispatch_type.h"
#include "content/public/renderer/render_view_observer.h"
+#include <vector>
+
namespace blink {
class WebInputEvent;
}
@@ -31,9 +33,11 @@ class IdleUserDetector : public RenderViewObserver {
bool OnMessageReceived(const IPC::Message& message) override;
void OnDestruct() override;
- void OnHandleInputEvent(const blink::WebInputEvent* event,
- const ui::LatencyInfo& latency_info,
- InputEventDispatchType dispatch_type);
+ void OnHandleInputEvent(
+ const blink::WebInputEvent* event,
+ const std::vector<const blink::WebInputEvent*>& coalesced_events,
+ const ui::LatencyInfo& latency_info,
+ InputEventDispatchType dispatch_type);
DISALLOW_COPY_AND_ASSIGN(IdleUserDetector);
};
« no previous file with comments | « content/renderer/gpu/gpu_benchmarking_extension.cc ('k') | content/renderer/idle_user_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698