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 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, |
20 VKEY_PAUSE = VK_PAUSE, | 20 VKEY_PAUSE = VK_PAUSE, |
21 VKEY_CAPITAL = VK_CAPITAL, | 21 VKEY_CAPITAL = VK_CAPITAL, |
22 VKEY_KANA = VK_KANA, | 22 VKEY_KANA = VK_KANA, |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 VKEY_ATTN = VK_ATTN, | 170 VKEY_ATTN = VK_ATTN, |
171 VKEY_CRSEL = VK_CRSEL, | 171 VKEY_CRSEL = VK_CRSEL, |
172 VKEY_EXSEL = VK_EXSEL, | 172 VKEY_EXSEL = VK_EXSEL, |
173 VKEY_EREOF = VK_EREOF, | 173 VKEY_EREOF = VK_EREOF, |
174 VKEY_PLAY = VK_PLAY, | 174 VKEY_PLAY = VK_PLAY, |
175 VKEY_ZOOM = VK_ZOOM, | 175 VKEY_ZOOM = VK_ZOOM, |
176 VKEY_NONAME = VK_NONAME, | 176 VKEY_NONAME = VK_NONAME, |
177 VKEY_PA1 = VK_PA1, | 177 VKEY_PA1 = VK_PA1, |
178 VKEY_OEM_CLEAR = VK_OEM_CLEAR, | 178 VKEY_OEM_CLEAR = VK_OEM_CLEAR, |
179 VKEY_UNKNOWN = 0 | 179 VKEY_UNKNOWN = 0 |
180 }; | 180 } KeyboardCode; |
181 | 181 |
182 } // namespace views | 182 } // namespace views |
183 | 183 |
184 #endif // BASE_KEYBOARD_CODES_WIN_H_ | 184 #endif // BASE_KEYBOARD_CODES_WIN_H_ |
OLD | NEW |