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 19 matching lines...) Expand all Loading... |
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 typedef enum { |
38 VKEY_BACK = 0x08, | 38 VKEY_BACK = 0x08, |
39 VKEY_TAB = 0x09, | 39 VKEY_TAB = 0x09, |
40 VKEY_BACKTAB = 0x0A, | |
41 VKEY_CLEAR = 0x0C, | 40 VKEY_CLEAR = 0x0C, |
42 VKEY_RETURN = 0x0D, | 41 VKEY_RETURN = 0x0D, |
43 VKEY_SHIFT = 0x10, | 42 VKEY_SHIFT = 0x10, |
44 VKEY_CONTROL = 0x11, | 43 VKEY_CONTROL = 0x11, |
45 VKEY_MENU = 0x12, | 44 VKEY_MENU = 0x12, |
46 VKEY_PAUSE = 0x13, | 45 VKEY_PAUSE = 0x13, |
47 VKEY_CAPITAL = 0x14, | 46 VKEY_CAPITAL = 0x14, |
48 VKEY_KANA = 0x15, | 47 VKEY_KANA = 0x15, |
49 VKEY_HANGUL = 0x15, | 48 VKEY_HANGUL = 0x15, |
50 VKEY_JUNJA = 0x17, | 49 VKEY_JUNJA = 0x17, |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 208 |
210 // POSIX specific VKEYs. Note that as of Windows SDK 7.1, 0xD8-DA are | 209 // POSIX specific VKEYs. Note that as of Windows SDK 7.1, 0xD8-DA are |
211 // unassigned. | 210 // unassigned. |
212 VKEY_BRIGHTNESS_DOWN = 0xD8, | 211 VKEY_BRIGHTNESS_DOWN = 0xD8, |
213 VKEY_BRIGHTNESS_UP = 0xD9 | 212 VKEY_BRIGHTNESS_UP = 0xD9 |
214 } KeyboardCode; | 213 } KeyboardCode; |
215 | 214 |
216 } // namespace ui | 215 } // namespace ui |
217 | 216 |
218 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 217 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
OLD | NEW |