diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-21 22:42:58 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-21 22:42:58 +0000 |
commit | e1e08b4c73f6565a65e25f58374cf257ae1bbfbf (patch) | |
tree | e84f7da82738d67fc0403ea70b267db526c9e2a7 /ppapi/shared_impl/ppb_input_event_shared.h | |
parent | 08b2596f531f40e2de46fc2121b490a9996c1105 (diff) | |
download | chromium_src-e1e08b4c73f6565a65e25f58374cf257ae1bbfbf.zip chromium_src-e1e08b4c73f6565a65e25f58374cf257ae1bbfbf.tar.gz chromium_src-e1e08b4c73f6565a65e25f58374cf257ae1bbfbf.tar.bz2 |
Add GetUsbKeyCode _Dev interface for Pepper key events
Remove CreatePPEvent since it isn't used anywhere.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9353013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_input_event_shared.h')
-rw-r--r-- | ppapi/shared_impl/ppb_input_event_shared.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/shared_impl/ppb_input_event_shared.h b/ppapi/shared_impl/ppb_input_event_shared.h index c9ab572..c62befa 100644 --- a/ppapi/shared_impl/ppb_input_event_shared.h +++ b/ppapi/shared_impl/ppb_input_event_shared.h @@ -40,6 +40,7 @@ struct PPAPI_SHARED_EXPORT InputEventData { bool wheel_scroll_by_page; uint32_t key_code; + uint32_t usb_key_code; std::string character_text; @@ -76,6 +77,8 @@ class PPAPI_SHARED_EXPORT PPB_InputEvent_Shared virtual PP_Bool GetWheelScrollByPage() OVERRIDE; virtual uint32_t GetKeyCode() OVERRIDE; virtual PP_Var GetCharacterText() OVERRIDE; + virtual PP_Bool SetUsbKeyCode(uint32_t usb_key_code) OVERRIDE; + virtual uint32_t GetUsbKeyCode() OVERRIDE; virtual uint32_t GetIMESegmentNumber() OVERRIDE; virtual uint32_t GetIMESegmentOffset(uint32_t index) OVERRIDE; virtual int32_t GetIMETargetSegment() OVERRIDE; |