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

Unified Diff: content/public/renderer/pepper_plugin_instance.h

Issue 268793002: Pepper: Move DoPostMessage out of trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix threading behavior 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: content/public/renderer/pepper_plugin_instance.h
diff --git a/content/public/renderer/pepper_plugin_instance.h b/content/public/renderer/pepper_plugin_instance.h
index 88d9026d6df1e518bfbf557d2e16d843ec18ff82..d397fbc2ad0108695175ab244c67eae37e018de7 100644
--- a/content/public/renderer/pepper_plugin_instance.h
+++ b/content/public/renderer/pepper_plugin_instance.h
@@ -114,6 +114,9 @@ class PepperPluginInstance {
// Sets the text input type for this plugin.
virtual void SetTextInputType(ui::TextInputType type) = 0;
+
+ // Posts a message to the JavaScript object for this instance.
+ virtual void PostMessageToJavaScript(PP_Var message) = 0;
};
} // namespace content
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | content/renderer/pepper/fake_pepper_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698