OLD | NEW |
1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_PPB_INSTANCE_H_ | 5 #ifndef PPAPI_C_PPB_INSTANCE_H_ |
6 #define PPAPI_C_PPB_INSTANCE_H_ | 6 #define PPAPI_C_PPB_INSTANCE_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
11 #include "ppapi/c/pp_var.h" | 11 #include "ppapi/c/pp_var.h" |
12 | 12 |
13 #define PPB_INSTANCE_INTERFACE "PPB_Instance;0.4" | 13 #define PPB_INSTANCE_INTERFACE_0_4 "PPB_Instance;0.4" |
| 14 #define PPB_INSTANCE_INTERFACE PPB_INSTANCE_INTERFACE_0_4 |
14 | 15 |
15 /** | 16 /** |
16 * @file | 17 * @file |
17 * This file defines the PPB_Instance interface implemented by the | 18 * This file defines the PPB_Instance interface implemented by the |
18 * browser and containing pointers to functions related to | 19 * browser and containing pointers to functions related to |
19 * the module instance on a web page. | 20 * the module instance on a web page. |
20 * | 21 * |
21 * @addtogroup Interfaces | 22 * @addtogroup Interfaces |
22 * @{ | 23 * @{ |
23 */ | 24 */ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 struct PP_Var (*ExecuteScript)(PP_Instance instance, | 108 struct PP_Var (*ExecuteScript)(PP_Instance instance, |
108 struct PP_Var script, | 109 struct PP_Var script, |
109 struct PP_Var* exception); | 110 struct PP_Var* exception); |
110 }; | 111 }; |
111 /** | 112 /** |
112 * @} | 113 * @} |
113 */ | 114 */ |
114 | 115 |
115 #endif /* PPAPI_C_PPB_INSTANCE_H_ */ | 116 #endif /* PPAPI_C_PPB_INSTANCE_H_ */ |
116 | 117 |
OLD | NEW |