Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ppapi / c / ppb_messaging.h
index c361d14..5048d80 100644 (file)
@@ -3,7 +3,7 @@
  * 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_
@@ -17,8 +17,8 @@
 #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
@@ -37,7 +37,7 @@
  * 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()
@@ -137,7 +137,7 @@ struct PPB_Messaging_1_1 { /* dev */
   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
@@ -157,11 +157,11 @@ struct PPB_Messaging_1_1 { /* dev */
   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;
 /**
  * @}
  */