Index: ppapi/thunk/ppb_instance_api.h |
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h |
index 1f0e2a515f8eaac2f0ef452749c690e9fd4fde6c..997c32e4eea5658d61ee0f793adef5ef255fb688 100644 |
--- a/ppapi/thunk/ppb_instance_api.h |
+++ b/ppapi/thunk/ppb_instance_api.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
+#include "ppapi/c/dev/ppb_messaging_deprecated.h" |
#include "ppapi/c/dev/ppb_url_util_dev.h" |
#include "ppapi/c/pp_bool.h" |
#include "ppapi/c/pp_completion_callback.h" |
@@ -31,7 +32,7 @@ |
struct PP_DecryptedBlockInfo; |
struct PP_DecryptedFrameInfo; |
-struct PPP_MessageHandler_0_1; |
+struct PPP_MessageHandler_0_2; |
namespace ppapi { |
@@ -118,8 +119,13 @@ class PPB_Instance_API { |
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, |
+ const PPP_MessageHandler_0_2* handler, |
PP_Resource message_loop) = 0; |
+ virtual int32_t RegisterMessageHandler_1_1_Deprecated( |
+ PP_Instance instance, |
+ void* user_data, |
+ const PPP_MessageHandler_0_1_Deprecated* handler, |
+ PP_Resource message_loop) = 0; |
virtual void UnregisterMessageHandler(PP_Instance instance) = 0; |
// Mouse cursor. |