Index: ppapi/proxy/ppb_testing_proxy.h |
=================================================================== |
--- ppapi/proxy/ppb_testing_proxy.h (revision 107150) |
+++ ppapi/proxy/ppb_testing_proxy.h (working copy) |
@@ -6,8 +6,10 @@ |
#define PPAPI_PROXY_PPB_TESTING_PROXY_H_ |
#include "base/basictypes.h" |
+#include "ppapi/c/pp_input_event.h" |
#include "ppapi/c/pp_instance.h" |
#include "ppapi/c/pp_resource.h" |
+#include "ppapi/c/ppb_input_event.h" |
#include "ppapi/proxy/interface_proxy.h" |
#include "ppapi/shared_impl/host_resource.h" |
@@ -36,6 +38,21 @@ |
void OnMsgRunMessageLoop(PP_Instance instance); |
void OnMsgQuitMessageLoop(PP_Instance instance); |
void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result); |
+ void OnMsgGenerateKeyEvent( |
+ PP_Instance instance, |
+ PP_InputEvent_Type type, |
+ const PP_InputEvent_Key& key_event); |
+ void OnMsgGenerateCharacterEvent( |
+ PP_Instance instance, |
+ const PP_InputEvent_Modifier modifier, |
+ const std::string& text); |
+ void OnMsgGenerateMouseEvent( |
+ PP_Instance instance, |
+ PP_InputEvent_Type type, |
+ const PP_InputEvent_Mouse& mouse_event); |
+ void OnMsgGenerateWheelEvent( |
+ PP_Instance instance, |
+ const PP_InputEvent_Wheel& wheel_event); |
// When this proxy is in the host side, this value caches the interface |
// pointer so we don't have to retrieve it from the dispatcher each time. |