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 Mon Feb 24 12:10:24 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Tue Feb 25 17:06:35 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 /* Sets a read-only property on the <embed> DOM element that corresponds to | 265 /* Sets a read-only property on the <embed> DOM element that corresponds to |
266 * the given instance. | 266 * the given instance. |
267 */ | 267 */ |
268 void (*SetReadOnlyProperty)(PP_Instance instance, | 268 void (*SetReadOnlyProperty)(PP_Instance instance, |
269 struct PP_Var key, | 269 struct PP_Var key, |
270 struct PP_Var value); | 270 struct PP_Var value); |
271 /* Report an error that occured while attempting to load a nexe. */ | 271 /* Report an error that occured while attempting to load a nexe. */ |
272 void (*ReportLoadError)(PP_Instance instance, | 272 void (*ReportLoadError)(PP_Instance instance, |
273 PP_NaClError error, | 273 PP_NaClError error, |
274 PP_Bool is_installed); | 274 PP_Bool is_installed); |
| 275 /* Return true if the NaCl debug stub is enabled and the loaded app |
| 276 * will be attached to a debugger. |
| 277 */ |
| 278 PP_Bool (*NaClDebugStubEnabled)(void); |
275 }; | 279 }; |
276 | 280 |
277 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 281 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
278 /** | 282 /** |
279 * @} | 283 * @} |
280 */ | 284 */ |
281 | 285 |
282 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 286 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
283 | 287 |
OLD | NEW |