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

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

Issue 2576013002: Introducing WebCoalescedInputEvent and inclusion in content/common (Closed)
Patch Set: Created 4 years 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_handler_manager.h
diff --git a/content/renderer/input/input_handler_manager.h b/content/renderer/input/input_handler_manager.h
index e8da149e30b17ff0292c49782d53a3fdba93d1e4..c859dee1418a8bc72b1068aa3b8562d291d418a8 100644
--- a/content/renderer/input/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -11,6 +11,7 @@
#include "content/common/content_export.h"
#include "content/common/input/input_event_ack_state.h"
#include "content/renderer/render_view_impl.h"
+#include "third_party/WebKit/public/platform/WebCoalescedInputEvent.h"
#include "ui/events/blink/input_handler_proxy.h"
namespace base {
@@ -82,12 +83,12 @@ class CONTENT_EXPORT InputHandlerManager {
using InputEventAckStateCallback =
base::Callback<void(InputEventAckState,
- ui::ScopedWebInputEvent,
+ blink::ScopedWebCoalescedInputEvent,
const ui::LatencyInfo&,
std::unique_ptr<ui::DidOverscrollParams>)>;
// Called from the compositor's thread.
virtual void HandleInputEvent(int routing_id,
- ui::ScopedWebInputEvent input_event,
+ blink::ScopedWebCoalescedInputEvent input_event,
const ui::LatencyInfo& latency_info,
const InputEventAckStateCallback& callback);
@@ -106,7 +107,7 @@ class CONTENT_EXPORT InputHandlerManager {
// Called from the compositor's thread.
void DispatchNonBlockingEventToMainThread(
int routing_id,
- ui::ScopedWebInputEvent event,
+ blink::WebCoalescedInputEvent::ScopedWebInputEvent event,
const ui::LatencyInfo& latency_info);
private:

Powered by Google App Engine
This is Rietveld 408576698