Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 235983020: Pepper: Move PnaclOptions outside trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another build fix Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 PP_NACL_READY_STATE_UNSENT = 0, 126 PP_NACL_READY_STATE_UNSENT = 0,
127 /* The manifest file has been requested, but not yet received. */ 127 /* The manifest file has been requested, but not yet received. */
128 PP_NACL_READY_STATE_OPENED = 1, 128 PP_NACL_READY_STATE_OPENED = 1,
129 /* The manifest file has been received and the nexe successfully requested. */ 129 /* The manifest file has been received and the nexe successfully requested. */
130 PP_NACL_READY_STATE_LOADING = 3, 130 PP_NACL_READY_STATE_LOADING = 3,
131 /* The nexe has been loaded and the proxy started, so it is ready for 131 /* The nexe has been loaded and the proxy started, so it is ready for
132 interaction with the page. */ 132 interaction with the page. */
133 PP_NACL_READY_STATE_DONE = 4 133 PP_NACL_READY_STATE_DONE = 4
134 }; 134 };
135 135
136 struct PP_PNaClOptions {
137 PP_Bool translate;
138 PP_Bool is_debug;
139 int32_t opt_level;
140 };
141
136 /* PPB_NaCl_Private */ 142 /* PPB_NaCl_Private */
137 interface PPB_NaCl_Private { 143 interface PPB_NaCl_Private {
138 /* Launches NaCl's sel_ldr process. Returns PP_EXTERNAL_PLUGIN_OK on success 144 /* Launches NaCl's sel_ldr process. Returns PP_EXTERNAL_PLUGIN_OK on success
139 * and writes a NaClHandle to imc_handle. Returns PP_EXTERNAL_PLUGIN_FAILED on 145 * and writes a NaClHandle to imc_handle. Returns PP_EXTERNAL_PLUGIN_FAILED on
140 * failure. The |enable_ppapi_dev| parameter controls whether GetInterface 146 * failure. The |enable_ppapi_dev| parameter controls whether GetInterface
141 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag 147 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag
142 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. 148 * indicates that the nexe run by sel_ldr will use the PPAPI APIs.
143 * This implies that LaunchSelLdr is run from the main thread. If a nexe 149 * This implies that LaunchSelLdr is run from the main thread. If a nexe
144 * does not need PPAPI, then it can run off the main thread. 150 * does not need PPAPI, then it can run off the main thread.
145 * The |uses_irt| flag indicates whether the IRT should be loaded in this 151 * The |uses_irt| flag indicates whether the IRT should be loaded in this
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 /* Sets the time the plugin was initialized. */ 355 /* Sets the time the plugin was initialized. */
350 void SetInitTime([in] PP_Instance instance); 356 void SetInitTime([in] PP_Instance instance);
351 357
352 /* Returns the size of the nexe. */ 358 /* Returns the size of the nexe. */
353 int64_t GetNexeSize([in] PP_Instance instance); 359 int64_t GetNexeSize([in] PP_Instance instance);
354 360
355 /* Sets the size of the nexe. */ 361 /* Sets the size of the nexe. */
356 void SetNexeSize([in] PP_Instance instance, 362 void SetNexeSize([in] PP_Instance instance,
357 [in] int64_t nexe_size); 363 [in] int64_t nexe_size);
358 }; 364 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/private/ppb_nacl_private.h » ('j') | ppapi/native_client/src/trusted/plugin/json_manifest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698