summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 02:01:28 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 02:01:28 +0000
commit48fed1cf88260ead7236c047a75ec84c66f79578 (patch)
tree1ee4a262f395f6b5a1f54d18c05e11cfde794b74 /ppapi/c
parent5e2b6fce36e3dd78e236f77b4622baf0a5ba82d2 (diff)
downloadchromium_src-48fed1cf88260ead7236c047a75ec84c66f79578.zip
chromium_src-48fed1cf88260ead7236c047a75ec84c66f79578.tar.gz
chromium_src-48fed1cf88260ead7236c047a75ec84c66f79578.tar.bz2
Pepper: Move DoPostMessage out of trusted plugin.
This is the first effort at moving some of the ReverseService logic out of the trusted plugin. I'd like to move these over soon since the tangled callback is pretty nasty, and hidehiko@ has run into the ugliness while adding features for Bare Metal Mode. This one is pretty easy since it's stateless. BUG=239656 Review URL: https://codereview.chromium.org/268793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_nacl_private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h
index e630bcf..67bece0 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 Tue May 6 21:29:20 2014. */
+/* From private/ppb_nacl_private.idl modified Thu May 8 10:24:52 2014. */
#ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
@@ -435,6 +435,10 @@ struct PPB_NaCl_Private_1_0 {
* of attributes supported by LLVM in its -mattr= option:
* http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */
struct PP_Var (*GetCpuFeatureAttrs)(void);
+ /* 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;