Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_messaging.h
Go to the documentation of this file.
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 /* From ppb_messaging.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_MESSAGING_H_
9 #define PPAPI_C_PPB_MESSAGING_H_
10 
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"
18 
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
22 
101  void (*PostMessage)(PP_Instance instance, struct PP_Var message);
138  PP_Instance instance,
139  void* user_data,
140  const struct PPP_MessageHandler_0_2* handler,
141  PP_Resource message_loop);
158 };
159 
160 typedef struct PPB_Messaging_1_2 PPB_Messaging;
161 
163  void (*PostMessage)(PP_Instance instance, struct PP_Var message);
164 };
169 #endif /* PPAPI_C_PPB_MESSAGING_H_ */
170 
Definition: ppp_message_handler.h:39
int32_t(* RegisterMessageHandler)(PP_Instance instance, void *user_data, const struct PPP_MessageHandler_0_2 *handler, PP_Resource message_loop)
Definition: ppb_messaging.h:137
int32_t PP_Resource
Definition: pp_resource.h:40
Definition: ppb_messaging.h:40
void(* PostMessage)(PP_Instance instance, struct PP_Var message)
Definition: ppb_messaging.h:101
Definition: pp_var.h:166
void(* UnregisterMessageHandler)(PP_Instance instance)
Definition: ppb_messaging.h:157
int32_t PP_Instance
Definition: pp_instance.h:34
Definition: ppb_messaging.h:162