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

Unified Diff: ppapi/thunk/ppb_instance_api.h

Issue 564573002: PPAPI: Make PPP_MessageHandler work in PNaCl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 6 years, 3 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
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev_channel.h ('k') | ppapi/thunk/ppb_messaging_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev_channel.h ('k') | ppapi/thunk/ppb_messaging_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698