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

Unified Diff: remoting/protocol/input_event_tracker.cc

Issue 1908683002: Replace OS_LEFT/RIGHT with META_LEFT/RIGHT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « remoting/host/input_injector_x11.cc ('k') | ui/events/keycodes/dom/keycode_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/input_event_tracker.cc
diff --git a/remoting/protocol/input_event_tracker.cc b/remoting/protocol/input_event_tracker.cc
index c232c013f96c87f07e1c0321b4f5fde3ec249559..5bdc0395e6643361d72736370c5b39b6c6c322f9 100644
--- a/remoting/protocol/input_event_tracker.cc
+++ b/remoting/protocol/input_event_tracker.cc
@@ -81,8 +81,8 @@ void InputEventTracker::ReleaseAllIfModifiersStuck(bool alt_expected,
pressed_keys_.find(ui::DomCode::CONTROL_LEFT) != pressed_keys_.end() ||
pressed_keys_.find(ui::DomCode::CONTROL_RIGHT) != pressed_keys_.end();
bool os_down =
- pressed_keys_.find(ui::DomCode::OS_LEFT) != pressed_keys_.end() ||
- pressed_keys_.find(ui::DomCode::OS_RIGHT) != pressed_keys_.end();
+ pressed_keys_.find(ui::DomCode::META_LEFT) != pressed_keys_.end() ||
+ pressed_keys_.find(ui::DomCode::META_RIGHT) != pressed_keys_.end();
bool shift_down =
pressed_keys_.find(ui::DomCode::SHIFT_LEFT) != pressed_keys_.end() ||
pressed_keys_.find(ui::DomCode::SHIFT_RIGHT) != pressed_keys_.end();
« no previous file with comments | « remoting/host/input_injector_x11.cc ('k') | ui/events/keycodes/dom/keycode_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698