Index: content/public/test/render_view_test.cc |
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc |
index d5d5fa580c386303e1c1b1dba476117966cb93f8..a2f3b4b4448bce8b56af6034bfd36ec7271ba83e 100644 |
--- a/content/public/test/render_view_test.cc |
+++ b/content/public/test/render_view_test.cc |
@@ -444,14 +444,16 @@ void RenderViewTest::SendWebKeyboardEvent( |
const blink::WebKeyboardEvent& key_event) { |
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
impl->OnMessageReceived( |
- InputMsg_HandleInputEvent(0, &key_event, ui::LatencyInfo())); |
+ InputMsg_HandleInputEvent(0, &key_event, ui::LatencyInfo(), |
+ InputEventDispatchType::DISPATCH_TYPE_NORMAL)); |
} |
void RenderViewTest::SendWebMouseEvent( |
const blink::WebMouseEvent& mouse_event) { |
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
impl->OnMessageReceived( |
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo())); |
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), |
+ InputEventDispatchType::DISPATCH_TYPE_NORMAL)); |
} |
const char* const kGetCoordinatesScript = |
@@ -518,10 +520,12 @@ void RenderViewTest::SimulatePointClick(const gfx::Point& point) { |
mouse_event.clickCount = 1; |
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
impl->OnMessageReceived( |
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo())); |
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), |
+ InputEventDispatchType::DISPATCH_TYPE_NORMAL)); |
mouse_event.type = WebInputEvent::MouseUp; |
impl->OnMessageReceived( |
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo())); |
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), |
+ InputEventDispatchType::DISPATCH_TYPE_NORMAL)); |
} |
@@ -542,10 +546,12 @@ void RenderViewTest::SimulatePointRightClick(const gfx::Point& point) { |
mouse_event.clickCount = 1; |
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
impl->OnMessageReceived( |
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo())); |
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), |
+ InputEventDispatchType::DISPATCH_TYPE_NORMAL)); |
mouse_event.type = WebInputEvent::MouseUp; |
impl->OnMessageReceived( |
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo())); |
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), |
+ InputEventDispatchType::DISPATCH_TYPE_NORMAL)); |
} |
void RenderViewTest::SimulateRectTap(const gfx::Rect& rect) { |
@@ -559,7 +565,8 @@ void RenderViewTest::SimulateRectTap(const gfx::Rect& rect) { |
gesture_event.sourceDevice = blink::WebGestureDeviceTouchpad; |
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
impl->OnMessageReceived( |
- InputMsg_HandleInputEvent(0, &gesture_event, ui::LatencyInfo())); |
+ InputMsg_HandleInputEvent(0, &gesture_event, ui::LatencyInfo(), |
+ InputEventDispatchType::DISPATCH_TYPE_NORMAL)); |
impl->FocusChangeComplete(); |
} |