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

Unified Diff: remoting/client/normalizing_input_filter_mac.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
Index: remoting/client/normalizing_input_filter_mac.cc
diff --git a/remoting/client/normalizing_input_filter_mac.cc b/remoting/client/normalizing_input_filter_mac.cc
index 5d081fa6d06d9005c580c96da9424f68097512d4..0b0507f3327d2857833d5faa3cbfe1b8d9aaa540 100644
--- a/remoting/client/normalizing_input_filter_mac.cc
+++ b/remoting/client/normalizing_input_filter_mac.cc
@@ -36,8 +36,8 @@ void NormalizingInputFilterMac::InjectKeyEvent(const protocol::KeyEvent& event)
dom_code == ui::DomCode::TAB;
bool is_cmd_key =
- dom_code == ui::DomCode::OS_LEFT ||
- dom_code == ui::DomCode::OS_RIGHT;
+ dom_code == ui::DomCode::META_LEFT ||
+ dom_code == ui::DomCode::META_RIGHT;
if (dom_code == ui::DomCode::CAPS_LOCK) {
// Mac OS X generates keydown/keyup on lock-state transitions, rather than
« no previous file with comments | « remoting/client/normalizing_input_filter_cros_unittest.cc ('k') | remoting/client/normalizing_input_filter_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698