Index: content/renderer/browser_plugin/browser_plugin.h |
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h |
index 29f9b6dc55798dafa0286f5266877d4e6bdaa855..dd32e88de3822311f2b65516a56ff91a6de28bfc 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.h |
+++ b/content/renderer/browser_plugin/browser_plugin.h |
@@ -47,6 +47,13 @@ class CONTENT_EXPORT BrowserPlugin : |
// Tells the BrowserPlugin to advance the focus to the next (or previous) |
// element. |
void AdvanceFocus(bool reverse); |
+ // Tell the BrowserPlugin to post a message to its guest. |
+ void PostMessage(const string16& message, |
+ const string16& target_origin); |
+ // Inform the BrowserPlugin of a message posted from its guest. |
+ void ReceiveMessage(int source_routing_id, |
+ const string16& source_origin, |
+ const string16& data); |
// Indicates whether there are any Javascript listeners attached to a |
// provided event_name. |