OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 BASE_KEYBOARD_CODES_WIN_H_ | 5 #ifndef BASE_KEYBOARD_CODES_WIN_H_ |
6 #define BASE_KEYBOARD_CODES_WIN_H_ | 6 #define BASE_KEYBOARD_CODES_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 | 11 |
12 typedef enum { | 12 typedef enum { |
13 VKEY_BACK = VK_BACK, | 13 VKEY_BACK = VK_BACK, |
14 VKEY_TAB = VK_TAB, | 14 VKEY_TAB = VK_TAB, |
15 VKEY_CLEAR = VK_CLEAR, | 15 VKEY_CLEAR = VK_CLEAR, |
16 VKEY_RETURN = VK_RETURN, | 16 VKEY_RETURN = VK_RETURN, |
17 VKEY_SHIFT = VK_SHIFT, | 17 VKEY_SHIFT = VK_SHIFT, |
18 VKEY_CONTROL = VK_CONTROL, | 18 VKEY_CONTROL = VK_CONTROL, |
19 VKEY_MENU = VK_MENU, | 19 VKEY_MENU = VK_MENU, // a.k.a. ALT |
| 20 VKEY_COMMAND = 0, // Not meaningful for Windows. START, perhaps? |
20 VKEY_PAUSE = VK_PAUSE, | 21 VKEY_PAUSE = VK_PAUSE, |
21 VKEY_CAPITAL = VK_CAPITAL, | 22 VKEY_CAPITAL = VK_CAPITAL, |
22 VKEY_KANA = VK_KANA, | 23 VKEY_KANA = VK_KANA, |
23 VKEY_HANGUL = VK_HANGUL, | 24 VKEY_HANGUL = VK_HANGUL, |
24 VKEY_JUNJA = VK_JUNJA, | 25 VKEY_JUNJA = VK_JUNJA, |
25 VKEY_FINAL = VK_FINAL, | 26 VKEY_FINAL = VK_FINAL, |
26 VKEY_HANJA = VK_HANJA, | 27 VKEY_HANJA = VK_HANJA, |
27 VKEY_KANJI = VK_KANJI, | 28 VKEY_KANJI = VK_KANJI, |
28 VKEY_ESCAPE = VK_ESCAPE, | 29 VKEY_ESCAPE = VK_ESCAPE, |
29 VKEY_CONVERT = VK_CONVERT, | 30 VKEY_CONVERT = VK_CONVERT, |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 VKEY_ZOOM = VK_ZOOM, | 176 VKEY_ZOOM = VK_ZOOM, |
176 VKEY_NONAME = VK_NONAME, | 177 VKEY_NONAME = VK_NONAME, |
177 VKEY_PA1 = VK_PA1, | 178 VKEY_PA1 = VK_PA1, |
178 VKEY_OEM_CLEAR = VK_OEM_CLEAR, | 179 VKEY_OEM_CLEAR = VK_OEM_CLEAR, |
179 VKEY_UNKNOWN = 0 | 180 VKEY_UNKNOWN = 0 |
180 } KeyboardCode; | 181 } KeyboardCode; |
181 | 182 |
182 } // namespace views | 183 } // namespace views |
183 | 184 |
184 #endif // BASE_KEYBOARD_CODES_WIN_H_ | 185 #endif // BASE_KEYBOARD_CODES_WIN_H_ |
OLD | NEW |