| 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, |
| 40 VKEY_CLEAR = 0x0C, | 41 VKEY_CLEAR = 0x0C, |
| 41 VKEY_RETURN = 0x0D, | 42 VKEY_RETURN = 0x0D, |
| 42 VKEY_SHIFT = 0x10, | 43 VKEY_SHIFT = 0x10, |
| 43 VKEY_CONTROL = 0x11, | 44 VKEY_CONTROL = 0x11, |
| 44 VKEY_MENU = 0x12, | 45 VKEY_MENU = 0x12, |
| 45 VKEY_PAUSE = 0x13, | 46 VKEY_PAUSE = 0x13, |
| 46 VKEY_CAPITAL = 0x14, | 47 VKEY_CAPITAL = 0x14, |
| 47 VKEY_KANA = 0x15, | 48 VKEY_KANA = 0x15, |
| 48 VKEY_HANGUL = 0x15, | 49 VKEY_HANGUL = 0x15, |
| 49 VKEY_JUNJA = 0x17, | 50 VKEY_JUNJA = 0x17, |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 209 |
| 209 // 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 |
| 210 // unassigned. | 211 // unassigned. |
| 211 VKEY_BRIGHTNESS_DOWN = 0xD8, | 212 VKEY_BRIGHTNESS_DOWN = 0xD8, |
| 212 VKEY_BRIGHTNESS_UP = 0xD9 | 213 VKEY_BRIGHTNESS_UP = 0xD9 |
| 213 } KeyboardCode; | 214 } KeyboardCode; |
| 214 | 215 |
| 215 } // namespace ui | 216 } // namespace ui |
| 216 | 217 |
| 217 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 218 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| OLD | NEW |