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

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

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/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index a6a3fbf586e91d9f464c3ce84c25afb6927e442d..da5d3131ec81fe22eeae58bd6b7ed1dfac65f070 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -97,7 +97,7 @@ void InputEventFilter::DidStopFlinging(int routing_id) {
void InputEventFilter::DispatchNonBlockingEventToMainThread(
int routing_id,
- ui::ScopedWebInputEvent event,
+ blink::WebScopedInputEvent event,
const ui::LatencyInfo& latency_info) {
DCHECK(target_task_runner_->BelongsToCurrentThread());
RouteQueueMap::iterator iter = route_queues_.find(routing_id);
@@ -210,7 +210,7 @@ void InputEventFilter::ForwardToHandler(const IPC::Message& message,
InputMsg_HandleInputEvent::Param params;
if (!InputMsg_HandleInputEvent::Read(&message, &params))
return;
- ui::ScopedWebInputEvent event =
+ blink::WebScopedInputEvent event =
ui::WebInputEventTraits::Clone(*std::get<0>(params));
ui::LatencyInfo latency_info = std::get<1>(params);
InputEventDispatchType dispatch_type = std::get<2>(params);
@@ -232,7 +232,7 @@ void InputEventFilter::DidForwardToHandlerAndOverscroll(
int routing_id,
InputEventDispatchType dispatch_type,
InputEventAckState ack_state,
- ui::ScopedWebInputEvent event,
+ blink::WebScopedInputEvent event,
const ui::LatencyInfo& latency_info,
std::unique_ptr<DidOverscrollParams> overscroll_params) {
bool send_ack = dispatch_type == DISPATCH_TYPE_BLOCKING;

Powered by Google App Engine
This is Rietveld 408576698