| Index: ppapi/thunk/ppb_instance_api.h
|
| diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h
|
| index db73979e4e56c5ff1932e3f5d1146d2f73a7fcd7..39ea9e440e600a351c5054f62a0f0c63216a49be 100644
|
| --- a/ppapi/thunk/ppb_instance_api.h
|
| +++ b/ppapi/thunk/ppb_instance_api.h
|
| @@ -30,6 +30,7 @@
|
|
|
| struct PP_DecryptedBlockInfo;
|
| struct PP_DecryptedFrameInfo;
|
| +struct PPP_MessageHandler_0_1;
|
|
|
| namespace ppapi {
|
|
|
| @@ -114,6 +115,11 @@ class PPB_Instance_API {
|
|
|
| // Messaging.
|
| virtual void PostMessage(PP_Instance instance, PP_Var message) = 0;
|
| + virtual int32_t RegisterMessageHandler(PP_Instance instance,
|
| + void* user_data,
|
| + const PPP_MessageHandler_0_1* handler,
|
| + PP_Resource message_loop) = 0;
|
| + virtual void UnregisterMessageHandler(PP_Instance instance) = 0;
|
|
|
| // Mouse cursor.
|
| virtual PP_Bool SetCursor(PP_Instance instance,
|
|
|