summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/ANPKeyCodes.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-07-13 16:17:11 -0700
committerJeff Brown <jeffbrown@google.com>2010-07-13 16:17:11 -0700
commit652e9a017a7c5c772361bf57279fae0c26992329 (patch)
tree7f098975de874b760660251e9925e6f3c8b68811 /WebKit/android/plugins/ANPKeyCodes.h
parent939d1819c550af9e179aa2fa46668206333e1ebc (diff)
downloadexternal_webkit-652e9a017a7c5c772361bf57279fae0c26992329.zip
external_webkit-652e9a017a7c5c772361bf57279fae0c26992329.tar.gz
external_webkit-652e9a017a7c5c772361bf57279fae0c26992329.tar.bz2
Migrate to new keycode constants in keycodes.h.
Change-Id: I523d6fab2964cec4610424f6fd7bbe86d38b7306
Diffstat (limited to 'WebKit/android/plugins/ANPKeyCodes.h')
-rw-r--r--WebKit/android/plugins/ANPKeyCodes.h34
1 files changed, 31 insertions, 3 deletions
diff --git a/WebKit/android/plugins/ANPKeyCodes.h b/WebKit/android/plugins/ANPKeyCodes.h
index 328eb56..edfe2b9 100644
--- a/WebKit/android/plugins/ANPKeyCodes.h
+++ b/WebKit/android/plugins/ANPKeyCodes.h
@@ -29,8 +29,7 @@
/* List the key codes that are set to a plugin in the ANPKeyEvent.
These exactly match the values in android/view/KeyEvent.java and the
- corresponding .h file include/ui/KeycodeLabels.h, which contains more than
- I want to publish to plugin authors.
+ corresponding .h file android/keycodes.h.
*/
enum ANPKeyCodes {
kUnknown_ANPKeyCode = 0,
@@ -118,7 +117,36 @@ enum ANPKeyCodes {
kPlus_ANPKeyCode = 81,
kMenu_ANPKeyCode = 82,
kNotification_ANPKeyCode = 83,
- kSearch_ANPKeyCode = 84
+ kSearch_ANPKeyCode = 84,
+ kMediaPlayPause_ANPKeyCode = 85,
+ kMediaStop_ANPKeyCode = 86,
+ kMediaNext_ANPKeyCode = 87,
+ kMediaPrevious_ANPKeyCode = 88,
+ kMediaRewind_ANPKeyCode = 89,
+ kMediaFastForward_ANPKeyCode = 90,
+ kMute_ANPKeyCode = 91,
+ kPageUp_ANPKeyCode = 92,
+ kPageDown_ANPKeyCode = 93,
+ kPictsymbols_ANPKeyCode = 94,
+ kSwitchCharset_ANPKeyCode = 95,
+ kButtonA_ANPKeyCode = 96,
+ kButtonB_ANPKeyCode = 97,
+ kButtonC_ANPKeyCode = 98,
+ kButtonX_ANPKeyCode = 99,
+ kButtonY_ANPKeyCode = 100,
+ kButtonZ_ANPKeyCode = 101,
+ kButtonL1_ANPKeyCode = 102,
+ kButtonR1_ANPKeyCode = 103,
+ kButtonL2_ANPKeyCode = 104,
+ kButtonR2_ANPKeyCode = 105,
+ kButtonThumbL_ANPKeyCode = 106,
+ kButtonThumbR_ANPKeyCode = 107,
+ kButtonStart_ANPKeyCode = 108,
+ kButtonSelect_ANPKeyCode = 109,
+ kButtonMode_ANPKeyCode = 110,
+
+ // NOTE: If you add a new keycode here you must also add it to several other files.
+ // Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
};
#endif