Index: content/public/renderer/browser_plugin_delegate.h |
diff --git a/content/public/renderer/browser_plugin_delegate.h b/content/public/renderer/browser_plugin_delegate.h |
index 282adda24a47510931e68fde57ac1244955039b5..011011ee541e6c1311012724ad267c50c926a930 100644 |
--- a/content/public/renderer/browser_plugin_delegate.h |
+++ b/content/public/renderer/browser_plugin_delegate.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "content/common/content_export.h" |
+#include "ipc/ipc_message.h" |
namespace content { |
@@ -33,6 +34,10 @@ class CONTENT_EXPORT BrowserPluginDelegate { |
// Sets the instance ID that idenfies the plugin within current render |
// process. |
virtual void SetElementInstanceID(int element_instance_id) {} |
+ |
+ // Called when a message is received. Returns true iff the message was |
+ // handled. |
+ virtual bool OnMessageReceived(const IPC::Message& message); |
}; |
} // namespace content |