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

Unified Diff: content/renderer/idle_user_detector.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Created 4 years, 1 month 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/idle_user_detector.h
diff --git a/content/renderer/idle_user_detector.h b/content/renderer/idle_user_detector.h
index 8d55af7ddc661a4d7a57409fa022560ea6bb03eb..59fd4db11bf463058d74e01704f59fbd0b57b7f1 100644
--- a/content/renderer/idle_user_detector.h
+++ b/content/renderer/idle_user_detector.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_RENDERER_IDLE_USER_DETECTOR_H_
#define CONTENT_RENDERER_IDLE_USER_DETECTOR_H_
+#include <vector>
+
#include "base/macros.h"
#include "content/common/input/input_event_dispatch_type.h"
#include "content/public/renderer/render_view_observer.h"
@@ -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*>& coalescedEvents,
+ const ui::LatencyInfo& latency_info,
+ InputEventDispatchType dispatch_type);
DISALLOW_COPY_AND_ASSIGN(IdleUserDetector);
};

Powered by Google App Engine
This is Rietveld 408576698