8 #ifndef PPAPI_C_PPB_MESSAGING_H_
9 #define PPAPI_C_PPB_MESSAGING_H_
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h"
17 #include "ppapi/c/ppp_message_handler.h"
19 #define PPB_MESSAGING_INTERFACE_1_0 "PPB_Messaging;1.0"
20 #define PPB_MESSAGING_INTERFACE_1_2 "PPB_Messaging;1.2"
21 #define PPB_MESSAGING_INTERFACE PPB_MESSAGING_INTERFACE_1_2
int32_t(* RegisterMessageHandler)(PP_Instance instance, void *user_data, const struct PPP_MessageHandler_0_2 *handler, PP_Resource message_loop)
void(* PostMessage)(PP_Instance instance, struct PP_Var message)
void(* PostMessage)(PP_Instance instance, struct PP_Var message)
void(* UnregisterMessageHandler)(PP_Instance instance)