diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 17:26:05 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 17:26:05 +0000 |
commit | bb2bd5ee717347ba0ed7d6e93870bf20fee88789 (patch) | |
tree | 2afa508bc9bd911ff0008ac0d57ed8fae6c031fc /ppapi/c/pp_input_event.h | |
parent | a5dc53d8900e1808d707008b2911ae3adc03db38 (diff) | |
download | chromium_src-bb2bd5ee717347ba0ed7d6e93870bf20fee88789.zip chromium_src-bb2bd5ee717347ba0ed7d6e93870bf20fee88789.tar.gz chromium_src-bb2bd5ee717347ba0ed7d6e93870bf20fee88789.tar.bz2 |
Revert Pepper Key event "USB code" CL.
Revert "Expose scancodes to PP_InputEvent_Key events that are independent of the input language/layout in effect, i.e. that represent the physical key pressed, independent of its meaning in the current context."
This reverts commit 35b9f7f01686f51142d8d5b16a88d04575113029.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6902020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/pp_input_event.h')
-rw-r--r-- | ppapi/c/pp_input_event.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/ppapi/c/pp_input_event.h b/ppapi/c/pp_input_event.h index 15d3eaf..2bd8f82 100644 --- a/ppapi/c/pp_input_event.h +++ b/ppapi/c/pp_input_event.h @@ -114,26 +114,13 @@ struct PP_InputEvent_Key { uint32_t modifier; /** - * |key_code| reflects the deprecated DOM KeyboardEvent |keyCode| field. + * |key_code| reflects the DOM KeyboardEvent |keyCode| field. * Chrome populates this with the Windows-style Virtual Key code of the key. */ - uint32_t key_code; - - /** - * |native_key_code| reflects the hardware and/or platform specific code for - * the key. - */ - uint32_t native_key_code; - /** - * |usb_key_code| contains the equivalent USB HID Page and Usage codes for - * the key, in the high- and low-order 16-bit words respectively. See - * http://www.usb.org/developers/hidpage/ for tables of HID Usage codes. - * If the no USB HID Usage equivalent is known for the key, the code is zero. - */ - uint32_t usb_key_code; + uint32_t key_code; }; -PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_InputEvent_Key, 16); +PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_InputEvent_Key, 8); /** * @} */ |