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 APP_KEYBOARD_CODES_WIN_H_ |
6 #define BASE_KEYBOARD_CODES_WIN_H_ | 6 #define APP_KEYBOARD_CODES_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 | 10 |
11 namespace base { | 11 namespace app { |
12 | 12 |
13 typedef enum { | 13 typedef enum { |
14 VKEY_BACK = VK_BACK, | 14 VKEY_BACK = VK_BACK, |
15 VKEY_TAB = VK_TAB, | 15 VKEY_TAB = VK_TAB, |
16 VKEY_CLEAR = VK_CLEAR, | 16 VKEY_CLEAR = VK_CLEAR, |
17 VKEY_RETURN = VK_RETURN, | 17 VKEY_RETURN = VK_RETURN, |
18 VKEY_SHIFT = VK_SHIFT, | 18 VKEY_SHIFT = VK_SHIFT, |
19 VKEY_CONTROL = VK_CONTROL, | 19 VKEY_CONTROL = VK_CONTROL, |
20 VKEY_MENU = VK_MENU, // a.k.a. ALT | 20 VKEY_MENU = VK_MENU, // a.k.a. ALT |
21 VKEY_PAUSE = VK_PAUSE, | 21 VKEY_PAUSE = VK_PAUSE, |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 VKEY_EXSEL = VK_EXSEL, | 174 VKEY_EXSEL = VK_EXSEL, |
175 VKEY_EREOF = VK_EREOF, | 175 VKEY_EREOF = VK_EREOF, |
176 VKEY_PLAY = VK_PLAY, | 176 VKEY_PLAY = VK_PLAY, |
177 VKEY_ZOOM = VK_ZOOM, | 177 VKEY_ZOOM = VK_ZOOM, |
178 VKEY_NONAME = VK_NONAME, | 178 VKEY_NONAME = VK_NONAME, |
179 VKEY_PA1 = VK_PA1, | 179 VKEY_PA1 = VK_PA1, |
180 VKEY_OEM_CLEAR = VK_OEM_CLEAR, | 180 VKEY_OEM_CLEAR = VK_OEM_CLEAR, |
181 VKEY_UNKNOWN = 0 | 181 VKEY_UNKNOWN = 0 |
182 } KeyboardCode; | 182 } KeyboardCode; |
183 | 183 |
184 } // namespace base | 184 } // namespace app |
185 | 185 |
186 #endif // BASE_KEYBOARD_CODES_WIN_H_ | 186 #endif // APP_KEYBOARD_CODES_WIN_H_ |
OLD | NEW |