| Index: ppapi/c/ppb_input_event.h
|
| diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h
|
| index 7d948615c1d252babf5ef6099a6c7af8188c0f72..b7f2b6e279af9fc6f31fb6ffa414c8d536bce107 100644
|
| --- a/ppapi/c/ppb_input_event.h
|
| +++ b/ppapi/c/ppb_input_event.h
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From ppb_input_event.idl modified Mon Nov 14 10:36:01 2011. */
|
| +/* From ppb_input_event.idl modified Wed Feb 8 13:23:45 2012. */
|
|
|
| #ifndef PPAPI_C_PPB_INPUT_EVENT_H_
|
| #define PPAPI_C_PPB_INPUT_EVENT_H_
|
| @@ -661,6 +661,9 @@ struct PPB_KeyboardInputEvent_1_0 {
|
| * <code>keyCode</code> field. Chrome populates this with the Windows-style
|
| * Virtual Key code of the key.
|
| *
|
| + * @param[in] usb_scan_code This value reflects the USB scancode that
|
| + * generated this keyboard event.
|
| + *
|
| * @param[in] character_text This value represents the typed character as a
|
| * UTF-8 string.
|
| *
|
| @@ -672,6 +675,7 @@ struct PPB_KeyboardInputEvent_1_0 {
|
| PP_TimeTicks time_stamp,
|
| uint32_t modifiers,
|
| uint32_t key_code,
|
| + uint32_t usb_scan_code,
|
| struct PP_Var character_text);
|
| /**
|
| * IsKeyboardInputEvent() determines if a resource is a keyboard event.
|
| @@ -692,6 +696,16 @@ struct PPB_KeyboardInputEvent_1_0 {
|
| */
|
| uint32_t (*GetKeyCode)(PP_Resource key_event);
|
| /**
|
| + * GetUsbScanCode_Dev() returns the USB scancode that corresponds to the key
|
| + * that generated this keyboard event.
|
| + *
|
| + * @param[in] key_event A <code>PP_Resource</code> corresponding to a
|
| + * keyboard event.
|
| + *
|
| + * @return The USB scancode field for the keyboard event.
|
| + */
|
| + uint32_t (*GetUsbScanCode_Dev)(PP_Resource key_event);
|
| + /**
|
| * GetCharacterText() returns the typed character as a UTF-8 string for the
|
| * given character event.
|
| *
|
|
|