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

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

Issue 1391843006: Embed keyboard shortcut bit in WebKeyboardEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac test compile Created 5 years, 2 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/idle_user_detector.h » ('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 0fa5d407dc11a2e043a6d2b266ff09b4f4d703a6..b4ef9a8fe0fcba0c52b82303963cc72d9a4d1e20 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -318,14 +318,14 @@ void RenderViewTest::SendWebKeyboardEvent(
const blink::WebKeyboardEvent& key_event) {
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
impl->OnMessageReceived(
- InputMsg_HandleInputEvent(0, &key_event, ui::LatencyInfo(), false));
+ InputMsg_HandleInputEvent(0, &key_event, ui::LatencyInfo()));
}
void RenderViewTest::SendWebMouseEvent(
const blink::WebMouseEvent& mouse_event) {
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
impl->OnMessageReceived(
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false));
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo()));
}
const char* const kGetCoordinatesScript =
@@ -392,10 +392,10 @@ 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(), false));
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo()));
mouse_event.type = WebInputEvent::MouseUp;
impl->OnMessageReceived(
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false));
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo()));
}
@@ -416,10 +416,10 @@ 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(), false));
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo()));
mouse_event.type = WebInputEvent::MouseUp;
impl->OnMessageReceived(
- InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo(), false));
+ InputMsg_HandleInputEvent(0, &mouse_event, ui::LatencyInfo()));
}
void RenderViewTest::SimulateRectTap(const gfx::Rect& rect) {
@@ -432,7 +432,7 @@ void RenderViewTest::SimulateRectTap(const gfx::Rect& rect) {
gesture_event.type = WebInputEvent::GestureTap;
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
impl->OnMessageReceived(
- InputMsg_HandleInputEvent(0, &gesture_event, ui::LatencyInfo(), false));
+ InputMsg_HandleInputEvent(0, &gesture_event, ui::LatencyInfo()));
impl->FocusChangeComplete();
}
« no previous file with comments | « content/common/input_messages.h ('k') | content/renderer/idle_user_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698