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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_KEYCODES_DOM_US_LAYOUT_DATA_H_ 5 #ifndef UI_EVENTS_KEYCODES_DOM_US_LAYOUT_DATA_H_
6 #define UI_EVENTS_KEYCODES_DOM_US_LAYOUT_DATA_H_ 6 #define UI_EVENTS_KEYCODES_DOM_US_LAYOUT_DATA_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 namespace ui { 10 namespace ui {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 {DomCode::NUMPAD_BACKSPACE, DomKey::BACKSPACE}, 212 {DomCode::NUMPAD_BACKSPACE, DomKey::BACKSPACE},
213 {DomCode::NUMPAD_CLEAR, DomKey::CLEAR}, 213 {DomCode::NUMPAD_CLEAR, DomKey::CLEAR},
214 {DomCode::NUMPAD_ENTER, DomKey::ENTER}, 214 {DomCode::NUMPAD_ENTER, DomKey::ENTER},
215 // {DomCode::NUMPAD_CLEAR_ENTRY, DomKey::_} 215 // {DomCode::NUMPAD_CLEAR_ENTRY, DomKey::_}
216 // {DomCode::NUMPAD_MEMORY_ADD, DomKey::_} 216 // {DomCode::NUMPAD_MEMORY_ADD, DomKey::_}
217 // {DomCode::NUMPAD_MEMORY_CLEAR, DomKey::_} 217 // {DomCode::NUMPAD_MEMORY_CLEAR, DomKey::_}
218 // {DomCode::NUMPAD_MEMORY_RECALL, DomKey::_} 218 // {DomCode::NUMPAD_MEMORY_RECALL, DomKey::_}
219 // {DomCode::NUMPAD_MEMORY_STORE, DomKey::_} 219 // {DomCode::NUMPAD_MEMORY_STORE, DomKey::_}
220 // {DomCode::NUMPAD_MEMORY_SUBTRACT, DomKey::_} 220 // {DomCode::NUMPAD_MEMORY_SUBTRACT, DomKey::_}
221 {DomCode::OPEN, DomKey::OPEN}, 221 {DomCode::OPEN, DomKey::OPEN},
222 {DomCode::OS_LEFT, DomKey::META}, 222 {DomCode::META_LEFT, DomKey::META},
223 {DomCode::OS_RIGHT, DomKey::META}, 223 {DomCode::META_RIGHT, DomKey::META},
224 {DomCode::PAGE_DOWN, DomKey::PAGE_DOWN}, 224 {DomCode::PAGE_DOWN, DomKey::PAGE_DOWN},
225 {DomCode::PAGE_UP, DomKey::PAGE_UP}, 225 {DomCode::PAGE_UP, DomKey::PAGE_UP},
226 {DomCode::PASTE, DomKey::PASTE}, 226 {DomCode::PASTE, DomKey::PASTE},
227 {DomCode::PAUSE, DomKey::PAUSE}, 227 {DomCode::PAUSE, DomKey::PAUSE},
228 {DomCode::POWER, DomKey::POWER}, 228 {DomCode::POWER, DomKey::POWER},
229 {DomCode::PRINT, DomKey::PRINT}, 229 {DomCode::PRINT, DomKey::PRINT},
230 {DomCode::PRINT_SCREEN, DomKey::PRINT_SCREEN}, 230 {DomCode::PRINT_SCREEN, DomKey::PRINT_SCREEN},
231 {DomCode::PROGRAM_GUIDE, DomKey::GUIDE}, 231 {DomCode::PROGRAM_GUIDE, DomKey::GUIDE},
232 {DomCode::PROPS, DomKey::PROPS}, 232 {DomCode::PROPS, DomKey::PROPS},
233 {DomCode::REDO, DomKey::REDO}, 233 {DomCode::REDO, DomKey::REDO},
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 // DomCode::NUMPAD_MEMORY_STORE 0x0700D0 NumpadMemoryStore 560 // DomCode::NUMPAD_MEMORY_STORE 0x0700D0 NumpadMemoryStore
561 // DomCode::NUMPAD_MEMORY_RECALL 0x0700D1 NumpadMemoryRecall 561 // DomCode::NUMPAD_MEMORY_RECALL 0x0700D1 NumpadMemoryRecall
562 // DomCode::NUMPAD_MEMORY_CLEAR 0x0700D2 NumpadMemoryClear 562 // DomCode::NUMPAD_MEMORY_CLEAR 0x0700D2 NumpadMemoryClear
563 // DomCode::NUMPAD_MEMORY_ADD 0x0700D3 NumpadMemoryAdd 563 // DomCode::NUMPAD_MEMORY_ADD 0x0700D3 NumpadMemoryAdd
564 // DomCode::NUMPAD_MEMORY_SUBTRACT 0x0700D4 NumpadMemorySubtract 564 // DomCode::NUMPAD_MEMORY_SUBTRACT 0x0700D4 NumpadMemorySubtract
565 {DomCode::NUMPAD_CLEAR, VKEY_CLEAR}, // 0x0700D8 NumpadClear 565 {DomCode::NUMPAD_CLEAR, VKEY_CLEAR}, // 0x0700D8 NumpadClear
566 {DomCode::NUMPAD_CLEAR_ENTRY, VKEY_CLEAR}, // 0x0700D9 NumpadClearEntry 566 {DomCode::NUMPAD_CLEAR_ENTRY, VKEY_CLEAR}, // 0x0700D9 NumpadClearEntry
567 {DomCode::CONTROL_LEFT, VKEY_LCONTROL}, // 0x0700E0 ControlLeft 567 {DomCode::CONTROL_LEFT, VKEY_LCONTROL}, // 0x0700E0 ControlLeft
568 {DomCode::SHIFT_LEFT, VKEY_LSHIFT}, // 0x0700E1 ShiftLeft 568 {DomCode::SHIFT_LEFT, VKEY_LSHIFT}, // 0x0700E1 ShiftLeft
569 {DomCode::ALT_LEFT, VKEY_LMENU}, // 0x0700E2 AltLeft 569 {DomCode::ALT_LEFT, VKEY_LMENU}, // 0x0700E2 AltLeft
570 {DomCode::OS_LEFT, VKEY_LWIN}, // 0x0700E3 OSLeft 570 {DomCode::META_LEFT, VKEY_LWIN}, // 0x0700E3 OSLeft
571 {DomCode::CONTROL_RIGHT, VKEY_RCONTROL}, // 0x0700E4 ControlRight 571 {DomCode::CONTROL_RIGHT, VKEY_RCONTROL}, // 0x0700E4 ControlRight
572 {DomCode::SHIFT_RIGHT, VKEY_RSHIFT}, // 0x0700E5 ShiftRight 572 {DomCode::SHIFT_RIGHT, VKEY_RSHIFT}, // 0x0700E5 ShiftRight
573 {DomCode::ALT_RIGHT, VKEY_RMENU}, // 0x0700E6 AltRight 573 {DomCode::ALT_RIGHT, VKEY_RMENU}, // 0x0700E6 AltRight
574 {DomCode::OS_RIGHT, VKEY_RWIN}, // 0x0700E7 OSRight 574 {DomCode::META_RIGHT, VKEY_RWIN}, // 0x0700E7 OSRight
575 #if defined(OS_POSIX) 575 #if defined(OS_POSIX)
576 {DomCode::BRIGHTNESS_UP, 576 {DomCode::BRIGHTNESS_UP,
577 VKEY_BRIGHTNESS_UP}, // 0x0C006F BrightnessUp 577 VKEY_BRIGHTNESS_UP}, // 0x0C006F BrightnessUp
578 {DomCode::BRIGHTNESS_DOWN, 578 {DomCode::BRIGHTNESS_DOWN,
579 VKEY_BRIGHTNESS_DOWN}, // 0x0C0070 BrightnessDown 579 VKEY_BRIGHTNESS_DOWN}, // 0x0C0070 BrightnessDown
580 #endif 580 #endif
581 {DomCode::MEDIA_TRACK_NEXT, 581 {DomCode::MEDIA_TRACK_NEXT,
582 VKEY_MEDIA_NEXT_TRACK}, // 0x0C00B5 MediaTrackNext 582 VKEY_MEDIA_NEXT_TRACK}, // 0x0C00B5 MediaTrackNext
583 {DomCode::MEDIA_TRACK_PREVIOUS, 583 {DomCode::MEDIA_TRACK_PREVIOUS,
584 VKEY_MEDIA_PREV_TRACK}, // 0x0C00B6 MediaTrackPrevious 584 VKEY_MEDIA_PREV_TRACK}, // 0x0C00B6 MediaTrackPrevious
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 // VKEY_MODECHANGE 651 // VKEY_MODECHANGE
652 // VKEY_NONAME 652 // VKEY_NONAME
653 // VKEY_PA1 653 // VKEY_PA1
654 // VKEY_PACKET 654 // VKEY_PACKET
655 // VKEY_PROCESSKEY 655 // VKEY_PROCESSKEY
656 }; 656 };
657 657
658 } // namespace ui 658 } // namespace ui
659 659
660 #endif // UI_EVENTS_KEYCODES_DOM_US_LAYOUT_DATA_H_ 660 #endif // UI_EVENTS_KEYCODES_DOM_US_LAYOUT_DATA_H_
OLDNEW
« 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