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

Unified Diff: ui/events/blink/input_handler_proxy.h

Issue 2576013002: Introducing WebCoalescedInputEvent and inclusion in content/common (Closed)
Patch Set: Fix a few DCHECK hits 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
Index: ui/events/blink/input_handler_proxy.h
diff --git a/ui/events/blink/input_handler_proxy.h b/ui/events/blink/input_handler_proxy.h
index d73ff9c3746f0768d9f393ebd5174690f216c20f..3ed898fef8c612951177ab349f5a89b58e6d4eab 100644
--- a/ui/events/blink/input_handler_proxy.h
+++ b/ui/events/blink/input_handler_proxy.h
@@ -10,14 +10,13 @@
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "cc/input/input_handler.h"
+#include "third_party/WebKit/public/platform/WebCoalescedInputEvent.h"
#include "third_party/WebKit/public/platform/WebGestureCurve.h"
#include "third_party/WebKit/public/platform/WebGestureCurveTarget.h"
#include "third_party/WebKit/public/platform/WebGestureEvent.h"
-#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "third_party/WebKit/public/web/WebActiveWheelFlingParameters.h"
#include "ui/events/blink/blink_features.h"
#include "ui/events/blink/input_scroll_elasticity_controller.h"
-#include "ui/events/blink/scoped_web_input_event.h"
#include "ui/events/blink/synchronous_input_handler_proxy.h"
namespace base {
@@ -72,11 +71,11 @@ class InputHandlerProxy
};
using EventDispositionCallback =
base::Callback<void(EventDisposition,
- ScopedWebInputEvent WebInputEvent,
+ blink::WebScopedInputEvent WebInputEvent,
const LatencyInfo&,
std::unique_ptr<ui::DidOverscrollParams>)>;
void HandleInputEventWithLatencyInfo(
- ScopedWebInputEvent event,
+ blink::WebScopedInputEvent event,
const LatencyInfo& latency_info,
const EventDispositionCallback& callback);
EventDisposition HandleInputEvent(const blink::WebInputEvent& event);

Powered by Google App Engine
This is Rietveld 408576698