Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Unified Diff: ppapi/shared_impl/ppb_input_event_shared.h

Issue 9353013: Add GetUsbKeyCode dev interface for Pepper key events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-sync to remove unrelated edits Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/shared_impl/ppb_input_event_shared.h
diff --git a/ppapi/shared_impl/ppb_input_event_shared.h b/ppapi/shared_impl/ppb_input_event_shared.h
index c9ab572f0dcf76b267791320e96c9811f3178f40..9176d4343b6b7c8ab6fda8f2237dd521f31f15dc 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_scan_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 SetUsbScanCode(uint32_t usb_scan_code) OVERRIDE;
+ virtual uint32_t GetUsbScanCode() OVERRIDE;
virtual uint32_t GetIMESegmentNumber() OVERRIDE;
virtual uint32_t GetIMESegmentOffset(uint32_t index) OVERRIDE;
virtual int32_t GetIMETargetSegment() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698