| 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 ppb_messaging.idl modified Wed Jul 13 16:51:56 2011. */ | 6 /* From ppb_messaging.idl modified Wed Aug 24 20:48:00 2011. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PPB_MESSAGING_H_ | 8 #ifndef PPAPI_C_PPB_MESSAGING_H_ |
| 9 #define PPAPI_C_PPB_MESSAGING_H_ | 9 #define PPAPI_C_PPB_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 PPB_MESSAGING_INTERFACE_0_1 "PPB_Messaging;0.1" | |
| 18 #define PPB_MESSAGING_INTERFACE_1_0 "PPB_Messaging;1.0" | 17 #define PPB_MESSAGING_INTERFACE_1_0 "PPB_Messaging;1.0" |
| 19 #define PPB_MESSAGING_INTERFACE PPB_MESSAGING_INTERFACE_1_0 | 18 #define PPB_MESSAGING_INTERFACE PPB_MESSAGING_INTERFACE_1_0 |
| 20 | 19 |
| 21 /** | 20 /** |
| 22 * @file | 21 * @file |
| 23 * This file defines the <code>PPB_Messaging</code> interface implemented | 22 * This file defines the <code>PPB_Messaging</code> interface implemented |
| 24 * by the browser for sending messages to DOM elements associated with a | 23 * by the browser for sending messages to DOM elements associated with a |
| 25 * specific module instance. | 24 * specific module instance. |
| 26 */ | 25 */ |
| 27 | 26 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 * The browser will pop-up an alert saying "Hello world!" | 92 * The browser will pop-up an alert saying "Hello world!" |
| 94 */ | 93 */ |
| 95 void (*PostMessage)(PP_Instance instance, struct PP_Var message); | 94 void (*PostMessage)(PP_Instance instance, struct PP_Var message); |
| 96 }; | 95 }; |
| 97 /** | 96 /** |
| 98 * @} | 97 * @} |
| 99 */ | 98 */ |
| 100 | 99 |
| 101 #endif /* PPAPI_C_PPB_MESSAGING_H_ */ | 100 #endif /* PPAPI_C_PPB_MESSAGING_H_ */ |
| 102 | 101 |
| OLD | NEW |