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

Unified Diff: ui/events/keycodes/dom/keycode_converter.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/protocol/input_event_tracker.cc ('k') | ui/events/keycodes/dom/keycode_converter_data.inc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/dom/keycode_converter.cc
diff --git a/ui/events/keycodes/dom/keycode_converter.cc b/ui/events/keycodes/dom/keycode_converter.cc
index 4531acd128aca240e3f3c5298067bd14d33cf101..94792e57bbcbba03e5a944a714b2fe53e04af6e1 100644
--- a/ui/events/keycodes/dom/keycode_converter.cc
+++ b/ui/events/keycodes/dom/keycode_converter.cc
@@ -125,11 +125,11 @@ DomKeyLocation KeycodeConverter::DomCodeToLocation(DomCode dom_code) {
} kLocations[] = {{DomCode::CONTROL_LEFT, DomKeyLocation::LEFT},
{DomCode::SHIFT_LEFT, DomKeyLocation::LEFT},
{DomCode::ALT_LEFT, DomKeyLocation::LEFT},
- {DomCode::OS_LEFT, DomKeyLocation::LEFT},
+ {DomCode::META_LEFT, DomKeyLocation::LEFT},
{DomCode::CONTROL_RIGHT, DomKeyLocation::RIGHT},
{DomCode::SHIFT_RIGHT, DomKeyLocation::RIGHT},
{DomCode::ALT_RIGHT, DomKeyLocation::RIGHT},
- {DomCode::OS_RIGHT, DomKeyLocation::RIGHT},
+ {DomCode::META_RIGHT, DomKeyLocation::RIGHT},
{DomCode::NUMPAD_DIVIDE, DomKeyLocation::NUMPAD},
{DomCode::NUMPAD_MULTIPLY, DomKeyLocation::NUMPAD},
{DomCode::NUMPAD_SUBTRACT, DomKeyLocation::NUMPAD},
« no previous file with comments | « remoting/protocol/input_event_tracker.cc ('k') | ui/events/keycodes/dom/keycode_converter_data.inc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698