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

Unified Diff: content/public/test/render_view_test.cc

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Rebase 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
« no previous file with comments | « content/common/input_messages.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0eefe39f067a25fb8e03dfd5a5bca7ef0d2e7bcd..d36497a87af56f7481351d61bcde5477d034a6a6 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -385,7 +385,7 @@ void RenderViewTest::SendWebKeyboardEvent(
const blink::WebKeyboardEvent& key_event) {
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
impl->OnMessageReceived(InputMsg_HandleInputEvent(
- 0, &key_event, ui::LatencyInfo(),
+ 0, &key_event, std::vector<const WebInputEvent*>(), ui::LatencyInfo(),
InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
}
@@ -393,7 +393,7 @@ void RenderViewTest::SendWebMouseEvent(
const blink::WebMouseEvent& mouse_event) {
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
impl->OnMessageReceived(InputMsg_HandleInputEvent(
- 0, &mouse_event, ui::LatencyInfo(),
+ 0, &mouse_event, std::vector<const WebInputEvent*>(), ui::LatencyInfo(),
InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
}
@@ -462,11 +462,11 @@ 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(),
+ 0, &mouse_event, std::vector<const WebInputEvent*>(), ui::LatencyInfo(),
InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
mouse_event.setType(WebInputEvent::MouseUp);
impl->OnMessageReceived(InputMsg_HandleInputEvent(
- 0, &mouse_event, ui::LatencyInfo(),
+ 0, &mouse_event, std::vector<const WebInputEvent*>(), ui::LatencyInfo(),
InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
}
@@ -489,11 +489,11 @@ 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(),
+ 0, &mouse_event, std::vector<const WebInputEvent*>(), ui::LatencyInfo(),
InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
mouse_event.setType(WebInputEvent::MouseUp);
impl->OnMessageReceived(InputMsg_HandleInputEvent(
- 0, &mouse_event, ui::LatencyInfo(),
+ 0, &mouse_event, std::vector<const WebInputEvent*>(), ui::LatencyInfo(),
InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
}
@@ -509,7 +509,7 @@ 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(),
+ 0, &gesture_event, std::vector<const WebInputEvent*>(), ui::LatencyInfo(),
InputEventDispatchType::DISPATCH_TYPE_BLOCKING));
impl->FocusChangeComplete();
}
« no previous file with comments | « content/common/input_messages.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698