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 10 matching lines...) Expand all Loading... |
21 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR | 21 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR |
22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 22 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA, OR | 24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA, OR |
25 * PROFITS, OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 25 * PROFITS, OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
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_POSIX_H_ |
32 #define BASE_KEYBOARD_CODES_MAC_H_ | 32 #define BASE_KEYBOARD_CODES_POSIX_H_ |
33 | 33 |
34 namespace base { | 34 namespace base { |
35 | 35 |
36 typedef 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, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } KeyboardCode; | 204 } KeyboardCode; |
205 | 205 |
206 } // namespace views | 206 } // namespace views |
207 | 207 |
208 #endif // BASE_KEYBOARD_CODES_MAC_H_ | 208 #endif // BASE_KEYBOARD_CODES_POSIX_H_ |
OLD | NEW |