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

Side by Side Diff: ppapi/c/private/ppb_nacl_private.h

Issue 268793002: Pepper: Move DoPostMessage out of trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 7 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 /* From private/ppb_nacl_private.idl modified Mon May 5 13:49:42 2014. */ 6 /* From private/ppb_nacl_private.idl modified Tue May 6 13:41:11 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 const char* key, 423 const char* key,
424 struct PP_Var* full_url, 424 struct PP_Var* full_url,
425 struct PP_PNaClOptions* pnacl_options); 425 struct PP_PNaClOptions* pnacl_options);
426 /* Returns the filenames for the llc and ld tools, parsing that information 426 /* Returns the filenames for the llc and ld tools, parsing that information
427 * from the file given in |filename|. 427 * from the file given in |filename|.
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 /* Posts a message to the JavaScript object for the given instance.
434 * This method may be called on any thread.
435 */
436 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message);
433 }; 437 };
434 438
435 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 439 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
436 /** 440 /**
437 * @} 441 * @}
438 */ 442 */
439 443
440 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 444 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
441 445
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698