| OLD | NEW |
| 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 Loading... |
| 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 "KeyboardCodes.h" | 32 #include "core/platform/chromium/KeyboardCodes.h" |
| 33 | 33 |
| 34 #include <android/keycodes.h> | 34 #include <android/keycodes.h> |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 | 37 |
| 38 // The Android NDK does not provide values for these yet: | 38 // The Android NDK does not provide values for these yet: |
| 39 enum { | 39 enum { |
| 40 AKEYCODE_ESCAPE = 111, | 40 AKEYCODE_ESCAPE = 111, |
| 41 AKEYCODE_FORWARD_DEL = 112, | 41 AKEYCODE_FORWARD_DEL = 112, |
| 42 AKEYCODE_CTRL_LEFT = 113, | 42 AKEYCODE_CTRL_LEFT = 113, |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 case AKEYCODE_CHANNEL_UP: | 320 case AKEYCODE_CHANNEL_UP: |
| 321 return VKEY_PRIOR; | 321 return VKEY_PRIOR; |
| 322 case AKEYCODE_CHANNEL_DOWN: | 322 case AKEYCODE_CHANNEL_DOWN: |
| 323 return VKEY_NEXT; | 323 return VKEY_NEXT; |
| 324 default: | 324 default: |
| 325 return 0; | 325 return 0; |
| 326 } | 326 } |
| 327 } | 327 } |
| 328 | 328 |
| 329 } // namespace WebCore | 329 } // namespace WebCore |
| OLD | NEW |