OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Source of data in this file: | 5 // Source of data in this file: |
6 // 1. ui/events/keycodes/dom/keycode_converter_data.inc | 6 // 1. ui/events/keycodes/dom/keycode_converter_data.inc |
7 // 2. ui/events/keycodes/keyboard_codes.h | 7 // 2. ui/events/keycodes/keyboard_codes.h |
8 // 3. third_party/WebKit/Source/core/platform/chromium/KeyboardCodes.h | 8 // 3. third_party/WebKit/Source/core/platform/chromium/KeyboardCodes.h |
9 #ifndef CHROME_TEST_REMOTING_KEY_CODE_MAP_H_ | 9 #ifndef CHROME_TEST_REMOTING_KEY_CODE_MAP_H_ |
10 #define CHROME_TEST_REMOTING_KEY_CODE_MAP_H_ | 10 #define CHROME_TEST_REMOTING_KEY_CODE_MAP_H_ |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "ui/events/keycodes/keyboard_codes.h" | 12 #include "ui/events/keycodes/keyboard_codes.h" |
14 | 13 |
15 namespace remoting { | 14 namespace remoting { |
16 | 15 |
17 typedef struct { | 16 typedef struct { |
18 // The character typed as a result of the key press without shift. | 17 // The character typed as a result of the key press without shift. |
19 char lower_char; | 18 char lower_char; |
20 | 19 |
21 // The character typed as a result of the key press with shift. | 20 // The character typed as a result of the key press with shift. |
22 char upper_char; | 21 char upper_char; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 {'\'', '\"', "Quote", ui::VKEY_OEM_7}, // '" | 84 {'\'', '\"', "Quote", ui::VKEY_OEM_7}, // '" |
86 {'`', '~', "Backquote", ui::VKEY_OEM_3}, // `~ | 85 {'`', '~', "Backquote", ui::VKEY_OEM_3}, // `~ |
87 {',', '<', "Comma", ui::VKEY_OEM_COMMA}, // ,< | 86 {',', '<', "Comma", ui::VKEY_OEM_COMMA}, // ,< |
88 {'.', '>', "Period", ui::VKEY_OEM_PERIOD}, // .> | 87 {'.', '>', "Period", ui::VKEY_OEM_PERIOD}, // .> |
89 {'/', '?', "Slash", ui::VKEY_OEM_2}, // /? | 88 {'/', '?', "Slash", ui::VKEY_OEM_2}, // /? |
90 }; | 89 }; |
91 | 90 |
92 } // namespace remoting | 91 } // namespace remoting |
93 | 92 |
94 #endif // CHROME_TEST_REMOTING_KEY_CODE_MAP_H_ | 93 #endif // CHROME_TEST_REMOTING_KEY_CODE_MAP_H_ |
OLD | NEW |