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

Side by Side Diff: Source/platform/KeyCodeConversionAndroid.cpp

Issue 106103009: Move remaining KeyCode files to platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add missing include Created 7 years 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 | « Source/platform/KeyCodeConversion.h ('k') | Source/platform/KeyCodeConversionGtk.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2007, The Android Open Source Project 2 * Copyright 2007, The Android Open Source Project
3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
4 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 4 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
5 * Copyright (C) 2007 Holger Hans Peter Freyther 5 * Copyright (C) 2007 Holger Hans Peter Freyther
6 * Copyright (C) 2008 Collabora, Ltd. All rights reserved. 6 * Copyright (C) 2008 Collabora, Ltd. All rights reserved.
7 * All rights reserved. 7 * All rights reserved.
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 11 matching lines...) Expand all
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 #include "config.h" 31 #include "config.h"
32 #include "platform/KeyCodeConversion.h"
33
32 #include "platform/KeyboardCodes.h" 34 #include "platform/KeyboardCodes.h"
33 35
34 #include <android/keycodes.h> 36 #include <android/keycodes.h>
35 37
36 namespace WebCore { 38 namespace WebCore {
37 39
38 // The Android NDK does not provide values for these yet: 40 // The Android NDK does not provide values for these yet:
39 enum { 41 enum {
40 AKEYCODE_ESCAPE = 111, 42 AKEYCODE_ESCAPE = 111,
41 AKEYCODE_FORWARD_DEL = 112, 43 AKEYCODE_FORWARD_DEL = 112,
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 case AKEYCODE_CHANNEL_UP: 322 case AKEYCODE_CHANNEL_UP:
321 return VKEY_PRIOR; 323 return VKEY_PRIOR;
322 case AKEYCODE_CHANNEL_DOWN: 324 case AKEYCODE_CHANNEL_DOWN:
323 return VKEY_NEXT; 325 return VKEY_NEXT;
324 default: 326 default:
325 return 0; 327 return 0;
326 } 328 }
327 } 329 }
328 330
329 } // namespace WebCore 331 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/platform/KeyCodeConversion.h ('k') | Source/platform/KeyCodeConversionGtk.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698