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 /* This file contains NaCl private interfaces. This interface is not versioned | 6 /* This file contains NaCl private interfaces. This interface is not versioned |
7 * and is for internal Chrome use. It may change without notice. */ | 7 * and is for internal Chrome use. It may change without notice. */ |
8 | 8 |
9 label Chrome { | 9 label Chrome { |
10 M25 = 1.0 | 10 M25 = 1.0 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 * The |uses_irt| flag indicates whether the IRT should be loaded in this | 47 * The |uses_irt| flag indicates whether the IRT should be loaded in this |
48 * NaCl process. This is true for ABI stable nexes. | 48 * NaCl process. This is true for ABI stable nexes. |
49 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe | 49 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe |
50 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). | 50 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). |
51 * The |enable_exception_handling| flag indicates whether or not the nexe | 51 * The |enable_exception_handling| flag indicates whether or not the nexe |
52 * will be able to use hardware exception handling. | 52 * will be able to use hardware exception handling. |
53 * The |enable_crash_throttling| flag indicates whether or not crashes of | 53 * The |enable_crash_throttling| flag indicates whether or not crashes of |
54 * the nexe contribute to crash throttling statisics and whether nexe starts | 54 * the nexe contribute to crash throttling statisics and whether nexe starts |
55 * are throttled by crash throttling. | 55 * are throttled by crash throttling. |
56 */ | 56 */ |
57 PP_ExternalPluginResult LaunchSelLdr([in] PP_Instance instance, | 57 void LaunchSelLdr([in] PP_Instance instance, |
58 [in] str_t alleged_url, | 58 [in] str_t alleged_url, |
59 [in] PP_Bool uses_irt, | 59 [in] PP_Bool uses_irt, |
60 [in] PP_Bool uses_ppapi, | 60 [in] PP_Bool uses_ppapi, |
61 [in] PP_Bool enable_ppapi_dev, | 61 [in] PP_Bool enable_ppapi_dev, |
62 [in] PP_Bool enable_dyncode_syscalls, | 62 [in] PP_Bool enable_dyncode_syscalls, |
63 [in] PP_Bool enable_exception_handling, | 63 [in] PP_Bool enable_exception_handling, |
64 [in] PP_Bool enable_crash_throttling, | 64 [in] PP_Bool enable_crash_throttling, |
65 [out] mem_t imc_handle, | 65 [out] mem_t imc_handle, |
66 [out] PP_Var error_message); | 66 [out] PP_Var error_message, |
| 67 [in] PP_CompletionCallback callback); |
67 | 68 |
68 /* This function starts the IPC proxy so the nexe can communicate with the | 69 /* This function starts the IPC proxy so the nexe can communicate with the |
69 * browser. Returns PP_EXTERNAL_PLUGIN_OK on success, otherwise a result code | 70 * browser. Returns PP_EXTERNAL_PLUGIN_OK on success, otherwise a result code |
70 * indicating the failure. PP_EXTERNAL_PLUGIN_FAILED is returned if | 71 * indicating the failure. PP_EXTERNAL_PLUGIN_FAILED is returned if |
71 * LaunchSelLdr wasn't called with the instance. | 72 * LaunchSelLdr wasn't called with the instance. |
72 * PP_EXTERNAL_PLUGIN_ERROR_MODULE is returned if the module can't be | 73 * PP_EXTERNAL_PLUGIN_ERROR_MODULE is returned if the module can't be |
73 * initialized. PP_EXTERNAL_PLUGIN_ERROR_INSTANCE is returned if the instance | 74 * initialized. PP_EXTERNAL_PLUGIN_ERROR_INSTANCE is returned if the instance |
74 * can't be initialized. | 75 * can't be initialized. |
75 */ | 76 */ |
76 PP_ExternalPluginResult StartPpapiProxy(PP_Instance instance); | 77 PP_ExternalPluginResult StartPpapiProxy(PP_Instance instance); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 [in] uint64_t loaded_bytes, | 171 [in] uint64_t loaded_bytes, |
171 [in] uint64_t total_bytes); | 172 [in] uint64_t total_bytes); |
172 | 173 |
173 /* Sets a read-only property on the <embed> DOM element that corresponds to | 174 /* Sets a read-only property on the <embed> DOM element that corresponds to |
174 * the given instance. | 175 * the given instance. |
175 */ | 176 */ |
176 void SetReadOnlyProperty([in] PP_Instance instance, | 177 void SetReadOnlyProperty([in] PP_Instance instance, |
177 [in] PP_Var key, | 178 [in] PP_Var key, |
178 [in] PP_Var value); | 179 [in] PP_Var value); |
179 }; | 180 }; |
OLD | NEW |