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

Unified Diff: ppapi/thunk/ppb_instance_api.h

Issue 7285010: Implement an input event resource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/thunk/ppb_instance_api.h
===================================================================
--- ppapi/thunk/ppb_instance_api.h (revision 90976)
+++ ppapi/thunk/ppb_instance_api.h (working copy)
@@ -33,6 +33,14 @@
virtual PP_Bool SetFullscreen(PP_Instance instance, PP_Bool fullscreen) = 0;
virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0;
+ // InputEvent.
+ virtual int32_t RequestInputEvents(PP_Instance instance,
+ uint32_t event_classes) = 0;
+ virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
+ uint32_t event_classes) = 0;
+ virtual void ClearInputEventRequest(PP_Instance instance,
+ uint32_t event_classes) = 0;
+
static const ::pp::proxy::InterfaceID interface_id =
::pp::proxy::INTERFACE_ID_PPB_INSTANCE;
};

Powered by Google App Engine
This is Rietveld 408576698