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

Unified Diff: content/renderer/mus/compositor_mus_connection.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: content/renderer/mus/compositor_mus_connection.h
diff --git a/content/renderer/mus/compositor_mus_connection.h b/content/renderer/mus/compositor_mus_connection.h
index 80f3ca5faf65098770c3556f42ebf40de75d5af7..bfad1bb793ab8443391faa9789ccc03f75c156f3 100644
--- a/content/renderer/mus/compositor_mus_connection.h
+++ b/content/renderer/mus/compositor_mus_connection.h
@@ -17,8 +17,7 @@
#include "services/ui/public/cpp/window.h"
#include "services/ui/public/cpp/window_tree_client.h"
#include "services/ui/public/cpp/window_tree_client_delegate.h"
-#include "third_party/WebKit/public/platform/WebInputEvent.h"
-#include "ui/events/blink/scoped_web_input_event.h"
+#include "third_party/WebKit/public/platform/WebCoalescedInputEvent.h"
#include "ui/events/gestures/motion_event_aura.h"
namespace ui {
@@ -70,7 +69,7 @@ class CONTENT_EXPORT CompositorMusConnection
void OnConnectionLostOnMainThread();
void OnWindowInputEventOnMainThread(
- ui::ScopedWebInputEvent web_event,
+ blink::WebScopedInputEvent web_event,
const base::Callback<void(ui::mojom::EventResult)>& ack);
void OnWindowInputEventAckOnMainThread(
@@ -98,7 +97,7 @@ class CONTENT_EXPORT CompositorMusConnection
std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>
ack_callback,
InputEventAckState ack_state,
- ui::ScopedWebInputEvent web_event,
+ blink::WebScopedInputEvent web_event,
const ui::LatencyInfo& latency_info,
std::unique_ptr<ui::DidOverscrollParams> overscroll_params);

Powered by Google App Engine
This is Rietveld 408576698