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

Unified Diff: content/renderer/input/input_event_filter_unittest.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/renderer/input/input_event_filter.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_event_filter_unittest.cc
diff --git a/content/renderer/input/input_event_filter_unittest.cc b/content/renderer/input/input_event_filter_unittest.cc
index e96cd7a7b7dda088d06cef46ba30d8eca0e1ceb3..d0723036d3141bd917aeceeb726d1e3352df7331 100644
--- a/content/renderer/input/input_event_filter_unittest.cc
+++ b/content/renderer/input/input_event_filter_unittest.cc
@@ -113,9 +113,8 @@ void AddEventsToFilter(IPC::MessageFilter* message_filter,
size_t count) {
std::vector<IPC::Message> messages;
for (size_t i = 0; i < count; ++i) {
- messages.push_back(
- InputMsg_HandleInputEvent(
- kTestRoutingID, &events[i], ui::LatencyInfo(), false));
+ messages.push_back(InputMsg_HandleInputEvent(kTestRoutingID, &events[i],
+ ui::LatencyInfo()));
}
AddMessagesToFilter(message_filter, messages);
@@ -251,10 +250,8 @@ TEST_F(InputEventFilterTest, PreserveRelativeOrder) {
SyntheticWebMouseEventBuilder::Build(WebMouseEvent::MouseUp);
std::vector<IPC::Message> messages;
- messages.push_back(InputMsg_HandleInputEvent(kTestRoutingID,
- &mouse_down,
- ui::LatencyInfo(),
- false));
+ messages.push_back(InputMsg_HandleInputEvent(kTestRoutingID, &mouse_down,
+ ui::LatencyInfo()));
// Control where input events are delivered.
messages.push_back(InputMsg_MouseCaptureLost(kTestRoutingID));
messages.push_back(InputMsg_SetFocus(kTestRoutingID, true));
@@ -280,10 +277,8 @@ TEST_F(InputEventFilterTest, PreserveRelativeOrder) {
gfx::Point(), gfx::Point()));
messages.push_back(InputMsg_MoveCaret(kTestRoutingID, gfx::Point()));
- messages.push_back(InputMsg_HandleInputEvent(kTestRoutingID,
- &mouse_up,
- ui::LatencyInfo(),
- false));
+ messages.push_back(
+ InputMsg_HandleInputEvent(kTestRoutingID, &mouse_up, ui::LatencyInfo()));
AddMessagesToFilter(filter_.get(), messages);
// We should have sent all messages back to the main thread and preserved
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698