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

Unified Diff: ui/events/keycodes/dom_us_layout_data.h

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 | « ui/events/keycodes/dom/keycode_converter_data.inc ('k') | ui/events/keycodes/keyboard_code_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/dom_us_layout_data.h
diff --git a/ui/events/keycodes/dom_us_layout_data.h b/ui/events/keycodes/dom_us_layout_data.h
index b0e2646ad9bf899cbe9c9e478f194bdc076a17f8..4cf29e99ead3a72b9492304873396c99abe0d689 100644
--- a/ui/events/keycodes/dom_us_layout_data.h
+++ b/ui/events/keycodes/dom_us_layout_data.h
@@ -219,8 +219,8 @@ const struct NonPrintableCodeEntry {
// {DomCode::NUMPAD_MEMORY_STORE, DomKey::_}
// {DomCode::NUMPAD_MEMORY_SUBTRACT, DomKey::_}
{DomCode::OPEN, DomKey::OPEN},
- {DomCode::OS_LEFT, DomKey::META},
- {DomCode::OS_RIGHT, DomKey::META},
+ {DomCode::META_LEFT, DomKey::META},
+ {DomCode::META_RIGHT, DomKey::META},
{DomCode::PAGE_DOWN, DomKey::PAGE_DOWN},
{DomCode::PAGE_UP, DomKey::PAGE_UP},
{DomCode::PASTE, DomKey::PASTE},
@@ -567,11 +567,11 @@ const struct DomCodeToKeyboardCodeEntry {
{DomCode::CONTROL_LEFT, VKEY_LCONTROL}, // 0x0700E0 ControlLeft
{DomCode::SHIFT_LEFT, VKEY_LSHIFT}, // 0x0700E1 ShiftLeft
{DomCode::ALT_LEFT, VKEY_LMENU}, // 0x0700E2 AltLeft
- {DomCode::OS_LEFT, VKEY_LWIN}, // 0x0700E3 OSLeft
+ {DomCode::META_LEFT, VKEY_LWIN}, // 0x0700E3 OSLeft
{DomCode::CONTROL_RIGHT, VKEY_RCONTROL}, // 0x0700E4 ControlRight
{DomCode::SHIFT_RIGHT, VKEY_RSHIFT}, // 0x0700E5 ShiftRight
{DomCode::ALT_RIGHT, VKEY_RMENU}, // 0x0700E6 AltRight
- {DomCode::OS_RIGHT, VKEY_RWIN}, // 0x0700E7 OSRight
+ {DomCode::META_RIGHT, VKEY_RWIN}, // 0x0700E7 OSRight
#if defined(OS_POSIX)
{DomCode::BRIGHTNESS_UP,
VKEY_BRIGHTNESS_UP}, // 0x0C006F BrightnessUp
« no previous file with comments | « ui/events/keycodes/dom/keycode_converter_data.inc ('k') | ui/events/keycodes/keyboard_code_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698