| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 /* | 5 /* |
| 6 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com. All rights reserved. | 6 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com. All rights reserved. |
| 7 * Copyright (C) 2008, 2009 Google Inc. | 7 * Copyright (C) 2008, 2009 Google Inc. |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions | 10 * modification, are permitted provided that the following conditions |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 31 #ifndef UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| 32 #define UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 32 #define UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| 33 #pragma once | 33 #pragma once |
| 34 | 34 |
| 35 namespace ui { | 35 namespace ui { |
| 36 | 36 |
| 37 typedef enum { | 37 enum KeyboardCode { |
| 38 VKEY_BACK = 0x08, | 38 VKEY_BACK = 0x08, |
| 39 VKEY_TAB = 0x09, | 39 VKEY_TAB = 0x09, |
| 40 VKEY_BACKTAB = 0x0A, | 40 VKEY_BACKTAB = 0x0A, |
| 41 VKEY_CLEAR = 0x0C, | 41 VKEY_CLEAR = 0x0C, |
| 42 VKEY_RETURN = 0x0D, | 42 VKEY_RETURN = 0x0D, |
| 43 VKEY_SHIFT = 0x10, | 43 VKEY_SHIFT = 0x10, |
| 44 VKEY_CONTROL = 0x11, | 44 VKEY_CONTROL = 0x11, |
| 45 VKEY_MENU = 0x12, | 45 VKEY_MENU = 0x12, |
| 46 VKEY_PAUSE = 0x13, | 46 VKEY_PAUSE = 0x13, |
| 47 VKEY_CAPITAL = 0x14, | 47 VKEY_CAPITAL = 0x14, |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 VKEY_ZOOM = 0xFB, | 204 VKEY_ZOOM = 0xFB, |
| 205 VKEY_NONAME = 0xFC, | 205 VKEY_NONAME = 0xFC, |
| 206 VKEY_PA1 = 0xFD, | 206 VKEY_PA1 = 0xFD, |
| 207 VKEY_OEM_CLEAR = 0xFE, | 207 VKEY_OEM_CLEAR = 0xFE, |
| 208 VKEY_UNKNOWN = 0, | 208 VKEY_UNKNOWN = 0, |
| 209 | 209 |
| 210 // POSIX specific VKEYs. Note that as of Windows SDK 7.1, 0xD8-DA are | 210 // POSIX specific VKEYs. Note that as of Windows SDK 7.1, 0xD8-DA are |
| 211 // unassigned. | 211 // unassigned. |
| 212 VKEY_BRIGHTNESS_DOWN = 0xD8, | 212 VKEY_BRIGHTNESS_DOWN = 0xD8, |
| 213 VKEY_BRIGHTNESS_UP = 0xD9 | 213 VKEY_BRIGHTNESS_UP = 0xD9 |
| 214 } KeyboardCode; | 214 }; |
| 215 | 215 |
| 216 } // namespace ui | 216 } // namespace ui |
| 217 | 217 |
| 218 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 218 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| OLD | NEW |