| 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 6184d72183851e2b9d0888fa0e92c8a8966393ff..bb6560c32c8983cf8aba9bd1c9e3294c4fafd55a 100644
|
| --- a/content/public/test/render_view_test.cc
|
| +++ b/content/public/test/render_view_test.cc
|
| @@ -375,16 +375,16 @@ void RenderViewTest::SendWebKeyboardEvent(
|
| const blink::WebKeyboardEvent& key_event) {
|
| RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
|
| impl->OnMessageReceived(InputMsg_HandleInputEvent(
|
| - 0, &key_event, ui::LatencyInfo(),
|
| - InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| + 0, &key_event, std::vector<IPC::WebInputEventPointer>(),
|
| + ui::LatencyInfo(), InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| }
|
|
|
| void RenderViewTest::SendWebMouseEvent(
|
| const blink::WebMouseEvent& mouse_event) {
|
| RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
|
| impl->OnMessageReceived(InputMsg_HandleInputEvent(
|
| - 0, &mouse_event, ui::LatencyInfo(),
|
| - InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| + 0, &mouse_event, std::vector<IPC::WebInputEventPointer>(),
|
| + ui::LatencyInfo(), InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| }
|
|
|
| const char* const kGetCoordinatesScript =
|
| @@ -451,12 +451,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(),
|
| - InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| + 0, &mouse_event, std::vector<IPC::WebInputEventPointer>(),
|
| + ui::LatencyInfo(), InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| mouse_event.type = WebInputEvent::MouseUp;
|
| impl->OnMessageReceived(InputMsg_HandleInputEvent(
|
| - 0, &mouse_event, ui::LatencyInfo(),
|
| - InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| + 0, &mouse_event, std::vector<IPC::WebInputEventPointer>(),
|
| + ui::LatencyInfo(), InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| }
|
|
|
|
|
| @@ -477,12 +477,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(),
|
| - InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| + 0, &mouse_event, std::vector<IPC::WebInputEventPointer>(),
|
| + ui::LatencyInfo(), InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| mouse_event.type = WebInputEvent::MouseUp;
|
| impl->OnMessageReceived(InputMsg_HandleInputEvent(
|
| - 0, &mouse_event, ui::LatencyInfo(),
|
| - InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| + 0, &mouse_event, std::vector<IPC::WebInputEventPointer>(),
|
| + ui::LatencyInfo(), InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| }
|
|
|
| void RenderViewTest::SimulateRectTap(const gfx::Rect& rect) {
|
| @@ -496,8 +496,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(),
|
| - InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| + 0, &gesture_event, std::vector<IPC::WebInputEventPointer>(),
|
| + ui::LatencyInfo(), InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
|
| impl->FocusChangeComplete();
|
| }
|
|
|
|
|