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 May 6 21:29:20 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Thu May 8 10:24:52 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 */ | 428 */ |
429 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance, | 429 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance, |
430 const char* filename, | 430 const char* filename, |
431 struct PP_Var* llc_tool_name, | 431 struct PP_Var* llc_tool_name, |
432 struct PP_Var* ld_tool_name); | 432 struct PP_Var* ld_tool_name); |
433 /* PP_Var string of attributes describing the CPU features supported | 433 /* PP_Var string of attributes describing the CPU features supported |
434 * by the current architecture. The string is a comma-delimited list | 434 * by the current architecture. The string is a comma-delimited list |
435 * of attributes supported by LLVM in its -mattr= option: | 435 * of attributes supported by LLVM in its -mattr= option: |
436 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ | 436 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ |
437 struct PP_Var (*GetCpuFeatureAttrs)(void); | 437 struct PP_Var (*GetCpuFeatureAttrs)(void); |
| 438 /* Posts a message to the JavaScript object for the given instance. |
| 439 * This method may be called on any thread. |
| 440 */ |
| 441 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message); |
438 }; | 442 }; |
439 | 443 |
440 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 444 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
441 /** | 445 /** |
442 * @} | 446 * @} |
443 */ | 447 */ |
444 | 448 |
445 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 449 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
446 | 450 |
OLD | NEW |