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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/private/ppb_nacl_private.h
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h
index 1bfe9f9106ec1c2b8cc1aeede908637abad5cd92..268e8fd79c703136c02d8dbec293c3d408553abf 100644
--- a/ppapi/c/private/ppb_nacl_private.h
+++ b/ppapi/c/private/ppb_nacl_private.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_nacl_private.idl modified Mon May 5 13:49:42 2014. */
+/* From private/ppb_nacl_private.idl modified Tue May 6 13:41:11 2014. */
#ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
@@ -430,6 +430,10 @@ struct PPB_NaCl_Private_1_0 {
const char* filename,
struct PP_Var* llc_tool_name,
struct PP_Var* ld_tool_name);
+ /* Posts a message to the JavaScript object for the given instance.
+ * This method may be called on any thread.
+ */
+ void (*PostMessageToJavaScript)(PP_Instance instance, const char* message);
};
typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;

Powered by Google App Engine
This is Rietveld 408576698