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

Unified Diff: content/renderer/input/input_event_filter.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/idle_user_detector.cc ('k') | content/renderer/input/input_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index 931b4e78e6ff5b437855a3f746c5bbd9ababfe3e..6b648c7d15685791928f243c35d1ffbf0c651bff 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -147,7 +147,6 @@ void InputEventFilter::ForwardToHandler(const IPC::Message& message) {
return;
const WebInputEvent* event = base::get<0>(params);
ui::LatencyInfo latency_info = base::get<1>(params);
- bool is_keyboard_shortcut = base::get<2>(params);
DCHECK(event);
const bool send_ack = WebInputEventTraits::WillReceiveAckFromRenderer(*event);
@@ -167,8 +166,8 @@ void InputEventFilter::ForwardToHandler(const IPC::Message& message) {
"input",
"InputEventFilter::ForwardToHandler::ForwardToMainListener",
TRACE_EVENT_SCOPE_THREAD);
- IPC::Message new_msg = InputMsg_HandleInputEvent(
- routing_id, event, latency_info, is_keyboard_shortcut);
+ IPC::Message new_msg =
+ InputMsg_HandleInputEvent(routing_id, event, latency_info);
main_task_runner_->PostTask(FROM_HERE, base::Bind(main_listener_, new_msg));
return;
}
« no previous file with comments | « content/renderer/idle_user_detector.cc ('k') | content/renderer/input/input_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698