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 2706d71ecf717abeee87ab4b024f5252826bb8b7..c622ee8a2cba8c002bf9215fc8ccbfdd9c29681d 100644 |
--- a/content/public/test/render_view_test.cc |
+++ b/content/public/test/render_view_test.cc |
@@ -441,14 +441,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 = |
@@ -515,10 +517,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)); |
} |
@@ -539,10 +543,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) { |
@@ -556,7 +562,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(); |
} |