Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: app/keyboard_codes_posix.h

Issue 3354005: Re-lands 58186: (Closed)
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « app/keyboard_codes.h ('k') | app/keyboard_codes_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_POSIX_H_ 31 #ifndef APP_KEYBOARD_CODES_POSIX_H_
32 #define BASE_KEYBOARD_CODES_POSIX_H_ 32 #define APP_KEYBOARD_CODES_POSIX_H_
33 #pragma once 33 #pragma once
34 34
35 namespace base { 35 namespace app {
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_CLEAR = 0x0C, 40 VKEY_CLEAR = 0x0C,
41 VKEY_RETURN = 0x0D, 41 VKEY_RETURN = 0x0D,
42 VKEY_SHIFT = 0x10, 42 VKEY_SHIFT = 0x10,
43 VKEY_CONTROL = 0x11, 43 VKEY_CONTROL = 0x11,
44 VKEY_MENU = 0x12, 44 VKEY_MENU = 0x12,
45 VKEY_PAUSE = 0x13, 45 VKEY_PAUSE = 0x13,
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 VKEY_EXSEL = 0xF8, 198 VKEY_EXSEL = 0xF8,
199 VKEY_EREOF = 0xF9, 199 VKEY_EREOF = 0xF9,
200 VKEY_PLAY = 0xFA, 200 VKEY_PLAY = 0xFA,
201 VKEY_ZOOM = 0xFB, 201 VKEY_ZOOM = 0xFB,
202 VKEY_NONAME = 0xFC, 202 VKEY_NONAME = 0xFC,
203 VKEY_PA1 = 0xFD, 203 VKEY_PA1 = 0xFD,
204 VKEY_OEM_CLEAR = 0xFE, 204 VKEY_OEM_CLEAR = 0xFE,
205 VKEY_UNKNOWN = 0 205 VKEY_UNKNOWN = 0
206 } KeyboardCode; 206 } KeyboardCode;
207 207
208 } // namespace views 208 } // namespace app
209 209
210 #endif // BASE_KEYBOARD_CODES_POSIX_H_ 210 #endif // APP_KEYBOARD_CODES_POSIX_H_
OLDNEW
« no previous file with comments | « app/keyboard_codes.h ('k') | app/keyboard_codes_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698