* found in the LICENSE file.
*/
-/* From ppb_messaging.idl modified Fri Jun 13 15:28:26 2014. */
+/* From ppb_messaging.idl modified Wed Sep 24 10:48:37 2014. */
#ifndef PPAPI_C_PPB_MESSAGING_H_
#define PPAPI_C_PPB_MESSAGING_H_
#include "ppapi/c/ppp_message_handler.h"
#define PPB_MESSAGING_INTERFACE_1_0 "PPB_Messaging;1.0"
-#define PPB_MESSAGING_INTERFACE_1_1 "PPB_Messaging;1.1" /* dev */
-#define PPB_MESSAGING_INTERFACE PPB_MESSAGING_INTERFACE_1_0
+#define PPB_MESSAGING_INTERFACE_1_2 "PPB_Messaging;1.2"
+#define PPB_MESSAGING_INTERFACE PPB_MESSAGING_INTERFACE_1_2
/**
* @file
* and is related to sending messages to JavaScript message event listeners on
* the DOM element associated with specific module instance.
*/
-struct PPB_Messaging_1_1 { /* dev */
+struct PPB_Messaging_1_2 {
/**
* PostMessage() asynchronously invokes any listeners for message events on
* the DOM element for the given module instance. A call to PostMessage()
int32_t (*RegisterMessageHandler)(
PP_Instance instance,
void* user_data,
- const struct PPP_MessageHandler_0_1* handler,
+ const struct PPP_MessageHandler_0_2* handler,
PP_Resource message_loop);
/**
* Unregisters the current message handler for <code>instance</code> if one
void (*UnregisterMessageHandler)(PP_Instance instance);
};
+typedef struct PPB_Messaging_1_2 PPB_Messaging;
+
struct PPB_Messaging_1_0 {
void (*PostMessage)(PP_Instance instance, struct PP_Var message);
};
-
-typedef struct PPB_Messaging_1_0 PPB_Messaging;
/**
* @}
*/