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

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

Issue 2683043004: Remove ui/events/blink dependency on blink_minimal. (Closed)
Patch Set: fix win debug Created 3 years, 10 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/input/main_thread_event_queue.h
diff --git a/content/renderer/input/main_thread_event_queue.h b/content/renderer/input/main_thread_event_queue.h
index 46e43cc5e586b0cf7e502d56d5b037a950a0547d..7f2f62a6bdcf40f9f9de8338f42e7e09e62fd1bb 100644
--- a/content/renderer/input/main_thread_event_queue.h
+++ b/content/renderer/input/main_thread_event_queue.h
@@ -8,11 +8,11 @@
#include <deque>
#include "base/feature_list.h"
#include "content/common/content_export.h"
-#include "content/common/input/event_with_latency_info.h"
#include "content/common/input/input_event_ack_state.h"
#include "content/common/input/input_event_dispatch_type.h"
#include "content/common/input/web_input_event_queue.h"
#include "content/public/common/content_features.h"
+#include "content/renderer/input/scoped_web_input_event_with_latency_info.h"
#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h"
#include "ui/events/blink/web_input_event_traits.h"
@@ -22,7 +22,7 @@ namespace content {
class EventWithDispatchType : public ScopedWebInputEventWithLatencyInfo {
public:
- EventWithDispatchType(blink::WebScopedInputEvent event,
+ EventWithDispatchType(ui::WebScopedInputEvent event,
const ui::LatencyInfo& latency,
InputEventDispatchType dispatch_type);
~EventWithDispatchType();
@@ -120,7 +120,7 @@ class CONTENT_EXPORT MainThreadEventQueue
// Called once the compositor has handled |event| and indicated that it is
// a non-blocking event to be queued to the main thread.
- bool HandleEvent(blink::WebScopedInputEvent event,
+ bool HandleEvent(ui::WebScopedInputEvent event,
const ui::LatencyInfo& latency,
InputEventDispatchType dispatch_type,
InputEventAckState ack_result);

Powered by Google App Engine
This is Rietveld 408576698