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

Unified Diff: ppapi/api/ppp_message_handler.idl

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/api/ppb_messaging.idl ('k') | ppapi/c/dev/ppb_messaging_deprecated.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppp_message_handler.idl
diff --git a/ppapi/api/ppp_message_handler.idl b/ppapi/api/ppp_message_handler.idl
index 675b1a3cf7b023dfd7327d506c7d8d38a71590ad..e898f0b5971f1b5c530d8fb31c5557dac044452d 100644
--- a/ppapi/api/ppp_message_handler.idl
+++ b/ppapi/api/ppp_message_handler.idl
@@ -11,7 +11,7 @@
*/
label Chrome {
- [channel=none] M37 = 0.1
+ [channel=dev] M39 = 0.2
};
/**
@@ -38,7 +38,7 @@ interface PPP_MessageHandler {
*/
void HandleMessage([in] PP_Instance instance,
[inout] mem_t user_data,
- [in] PP_Var message);
+ [constptr_in] PP_Var message);
/**
* Invoked as a result of JavaScript invoking postMessageAndAwaitResponse()
* on the plugin's DOM element.
@@ -49,12 +49,14 @@ interface PPP_MessageHandler {
* RegisterMessageHandler.
* @param[in] message is a copy of the parameter that JavaScript provided
* to postMessageAndAwaitResponse.
- * @return will be copied to a JavaScript object which is returned as
- * the result of postMessageAndAwaitResponse to the invoking JavaScript.
+ * @param[out] response will be copied to a JavaScript object which is
+ * returned as the result of postMessageAndAwaitResponse to the invoking
+ JavaScript.
*/
- PP_Var HandleBlockingMessage([in] PP_Instance instance,
- [inout] mem_t user_data,
- [in] PP_Var message);
+ void HandleBlockingMessage([in] PP_Instance instance,
+ [inout] mem_t user_data,
+ [constptr_in] PP_Var message,
+ [out] PP_Var response);
/**
* Invoked when the handler object is no longer needed. After this, no more
* calls will be made which pass this same value for <code>instance</code>
« no previous file with comments | « ppapi/api/ppb_messaging.idl ('k') | ppapi/c/dev/ppb_messaging_deprecated.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698