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

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

Issue 2240983003: Move |ScopedWebInputEvent| and |WebInputEventTraits| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and ncarter's review Created 4 years, 4 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.cc
diff --git a/content/renderer/input/main_thread_event_queue.cc b/content/renderer/input/main_thread_event_queue.cc
index ee2a34918d69a96861d89c6cf1935c2be2e93f48..bc0fac27a04a573968c2fe49984a474078b7652c 100644
--- a/content/renderer/input/main_thread_event_queue.cc
+++ b/content/renderer/input/main_thread_event_queue.cc
@@ -9,7 +9,7 @@
namespace content {
EventWithDispatchType::EventWithDispatchType(
- ScopedWebInputEvent event,
+ ui::ScopedWebInputEvent event,
const ui::LatencyInfo& latency,
InputEventDispatchType dispatch_type)
: ScopedWebInputEventWithLatencyInfo(std::move(event), latency),
@@ -29,7 +29,7 @@ void EventWithDispatchType::CoalesceWith(const EventWithDispatchType& other) {
if (dispatch_type_ == DISPATCH_TYPE_BLOCKING) {
// We should only have blocking touch events that need coalescing.
eventsToAck_.push_back(
- WebInputEventTraits::GetUniqueTouchEventId(other.event()));
+ ui::WebInputEventTraits::GetUniqueTouchEventId(other.event()));
}
ScopedWebInputEventWithLatencyInfo::CoalesceWith(other);
}
@@ -46,7 +46,7 @@ MainThreadEventQueue::MainThreadEventQueue(
MainThreadEventQueue::~MainThreadEventQueue() {}
bool MainThreadEventQueue::HandleEvent(
- ScopedWebInputEvent event,
+ ui::ScopedWebInputEvent event,
const ui::LatencyInfo& latency,
InputEventDispatchType original_dispatch_type,
InputEventAckState ack_result) {
« no previous file with comments | « content/renderer/input/main_thread_event_queue.h ('k') | content/renderer/input/main_thread_event_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698