OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 private/ppb_nacl_private.idl modified Tue Apr 15 09:24:03 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Tue Apr 15 14:43:25 2014. */ |
7 | 7 |
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ |
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ | 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
15 #include "ppapi/c/pp_stdint.h" | 15 #include "ppapi/c/pp_stdint.h" |
16 #include "ppapi/c/pp_var.h" | 16 #include "ppapi/c/pp_var.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 PP_NACL_READY_STATE_LOADING = 3, | 145 PP_NACL_READY_STATE_LOADING = 3, |
146 /* The nexe has been loaded and the proxy started, so it is ready for | 146 /* The nexe has been loaded and the proxy started, so it is ready for |
147 */ | 147 */ |
148 PP_NACL_READY_STATE_DONE = 4 | 148 PP_NACL_READY_STATE_DONE = 4 |
149 } PP_NaClReadyState; | 149 } PP_NaClReadyState; |
150 /** | 150 /** |
151 * @} | 151 * @} |
152 */ | 152 */ |
153 | 153 |
154 /** | 154 /** |
| 155 * @addtogroup Structs |
| 156 * @{ |
| 157 */ |
| 158 struct PP_PNaClOptions { |
| 159 PP_Bool translate; |
| 160 PP_Bool is_debug; |
| 161 int32_t opt_level; |
| 162 }; |
| 163 /** |
| 164 * @} |
| 165 */ |
| 166 |
| 167 /** |
155 * @addtogroup Interfaces | 168 * @addtogroup Interfaces |
156 * @{ | 169 * @{ |
157 */ | 170 */ |
158 /* PPB_NaCl_Private */ | 171 /* PPB_NaCl_Private */ |
159 struct PPB_NaCl_Private_1_0 { | 172 struct PPB_NaCl_Private_1_0 { |
160 /* Launches NaCl's sel_ldr process. Returns PP_EXTERNAL_PLUGIN_OK on success | 173 /* Launches NaCl's sel_ldr process. Returns PP_EXTERNAL_PLUGIN_OK on success |
161 * and writes a NaClHandle to imc_handle. Returns PP_EXTERNAL_PLUGIN_FAILED on | 174 * and writes a NaClHandle to imc_handle. Returns PP_EXTERNAL_PLUGIN_FAILED on |
162 * failure. The |enable_ppapi_dev| parameter controls whether GetInterface | 175 * failure. The |enable_ppapi_dev| parameter controls whether GetInterface |
163 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag | 176 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag |
164 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. | 177 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 void (*SetNexeSize)(PP_Instance instance, int64_t nexe_size); | 352 void (*SetNexeSize)(PP_Instance instance, int64_t nexe_size); |
340 }; | 353 }; |
341 | 354 |
342 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 355 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
343 /** | 356 /** |
344 * @} | 357 * @} |
345 */ | 358 */ |
346 | 359 |
347 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 360 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
348 | 361 |
OLD | NEW |