OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* From ppp_messaging.idl modified Wed Jul 13 16:51:47 2011. */ | 6 /* From ppp_messaging.idl modified Wed Aug 24 20:50:56 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_PPP_MESSAGING_H_ | 8 #ifndef PPAPI_C_PPP_MESSAGING_H_ |
9 #define PPAPI_C_PPP_MESSAGING_H_ | 9 #define PPAPI_C_PPP_MESSAGING_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
15 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
16 | 16 |
17 #define PPP_MESSAGING_INTERFACE_0_1 "PPP_Messaging;0.1" | |
18 #define PPP_MESSAGING_INTERFACE_1_0 "PPP_Messaging;1.0" | 17 #define PPP_MESSAGING_INTERFACE_1_0 "PPP_Messaging;1.0" |
19 #define PPP_MESSAGING_INTERFACE PPP_MESSAGING_INTERFACE_1_0 | 18 #define PPP_MESSAGING_INTERFACE PPP_MESSAGING_INTERFACE_1_0 |
20 | 19 |
21 /** | 20 /** |
22 * @file | 21 * @file |
23 * This file defines the PPP_Messaging interface containing pointers to | 22 * This file defines the PPP_Messaging interface containing pointers to |
24 * functions that you must implement to handle postMessage messages | 23 * functions that you must implement to handle postMessage messages |
25 * on the associated DOM element. | 24 * on the associated DOM element. |
26 * | 25 * |
27 */ | 26 */ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 * | 69 * |
71 */ | 70 */ |
72 void (*HandleMessage)(PP_Instance instance, struct PP_Var message); | 71 void (*HandleMessage)(PP_Instance instance, struct PP_Var message); |
73 }; | 72 }; |
74 /** | 73 /** |
75 * @} | 74 * @} |
76 */ | 75 */ |
77 | 76 |
78 #endif /* PPAPI_C_PPP_MESSAGING_H_ */ | 77 #endif /* PPAPI_C_PPP_MESSAGING_H_ */ |
79 | 78 |
OLD | NEW |