Index: ppapi/c/ppp_message_handler.h |
diff --git a/ppapi/c/ppp_message_handler.h b/ppapi/c/ppp_message_handler.h |
index 8032378a92b4f631027a93fe83c3a3179262482e..2b1a0dbddd17a7a3da38f79785583eaea8bc8928 100644 |
--- a/ppapi/c/ppp_message_handler.h |
+++ b/ppapi/c/ppp_message_handler.h |
@@ -3,7 +3,7 @@ |
* found in the LICENSE file. |
*/ |
-/* From ppp_message_handler.idl modified Tue Jun 3 16:50:26 2014. */ |
+/* From ppp_message_handler.idl modified Wed Sep 10 17:04:21 2014. */ |
#ifndef PPAPI_C_PPP_MESSAGE_HANDLER_H_ |
#define PPAPI_C_PPP_MESSAGE_HANDLER_H_ |
@@ -36,7 +36,7 @@ |
* This interface struct should not be returned by PPP_GetInterface; instead it |
* must be passed as a parameter to PPB_Messaging::RegisterMessageHandler. |
*/ |
-struct PPP_MessageHandler_0_1 { |
+struct PPP_MessageHandler_0_2 { /* dev */ |
/** |
* Invoked as a result of JavaScript invoking postMessage() on the plugin's |
* DOM element. |
@@ -50,7 +50,7 @@ struct PPP_MessageHandler_0_1 { |
*/ |
void (*HandleMessage)(PP_Instance instance, |
void* user_data, |
- struct PP_Var message); |
+ const struct PP_Var* message); |
/** |
* Invoked as a result of JavaScript invoking postMessageAndAwaitResponse() |
* on the plugin's DOM element. |
@@ -61,12 +61,14 @@ struct PPP_MessageHandler_0_1 { |
* 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 |
+ * |
*/ |
- struct PP_Var (*HandleBlockingMessage)(PP_Instance instance, |
- void* user_data, |
- struct PP_Var message); |
+ void (*HandleBlockingMessage)(PP_Instance instance, |
+ void* user_data, |
+ const struct PP_Var* message, |
+ struct 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> |