| 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 /* | 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 15 matching lines...) Expand all Loading... |
| 26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 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 BASE_KEYBOARD_CODES_MAC_H_ | 31 #ifndef BASE_KEYBOARD_CODES_MAC_H_ |
| 32 #define BASE_KEYBOARD_CODES_MAC_H_ | 32 #define BASE_KEYBOARD_CODES_MAC_H_ |
| 33 | 33 |
| 34 namespace base { | 34 namespace base { |
| 35 | 35 |
| 36 enum { | 36 typedef enum { |
| 37 VKEY_BACK = 0x08, | 37 VKEY_BACK = 0x08, |
| 38 VKEY_TAB = 0x09, | 38 VKEY_TAB = 0x09, |
| 39 VKEY_CLEAR = 0x0C, | 39 VKEY_CLEAR = 0x0C, |
| 40 VKEY_RETURN = 0x0D, | 40 VKEY_RETURN = 0x0D, |
| 41 VKEY_SHIFT = 0x10, | 41 VKEY_SHIFT = 0x10, |
| 42 VKEY_CONTROL = 0x11, | 42 VKEY_CONTROL = 0x11, |
| 43 VKEY_MENU = 0x12, | 43 VKEY_MENU = 0x12, |
| 44 VKEY_PAUSE = 0x13, | 44 VKEY_PAUSE = 0x13, |
| 45 VKEY_CAPITAL = 0x14, | 45 VKEY_CAPITAL = 0x14, |
| 46 VKEY_KANA = 0x15, | 46 VKEY_KANA = 0x15, |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 VKEY_ATTN = 0xF6, | 194 VKEY_ATTN = 0xF6, |
| 195 VKEY_CRSEL = 0xF7, | 195 VKEY_CRSEL = 0xF7, |
| 196 VKEY_EXSEL = 0xF8, | 196 VKEY_EXSEL = 0xF8, |
| 197 VKEY_EREOF = 0xF9, | 197 VKEY_EREOF = 0xF9, |
| 198 VKEY_PLAY = 0xFA, | 198 VKEY_PLAY = 0xFA, |
| 199 VKEY_ZOOM = 0xFB, | 199 VKEY_ZOOM = 0xFB, |
| 200 VKEY_NONAME = 0xFC, | 200 VKEY_NONAME = 0xFC, |
| 201 VKEY_PA1 = 0xFD, | 201 VKEY_PA1 = 0xFD, |
| 202 VKEY_OEM_CLEAR = 0xFE, | 202 VKEY_OEM_CLEAR = 0xFE, |
| 203 VKEY_UNKNOWN = 0 | 203 VKEY_UNKNOWN = 0 |
| 204 }; | 204 } KeyboardCode; |
| 205 | 205 |
| 206 } // namespace views | 206 } // namespace views |
| 207 | 207 |
| 208 #endif // BASE_KEYBOARD_CODES_MAC_H_ | 208 #endif // BASE_KEYBOARD_CODES_MAC_H_ |
| OLD | NEW |