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 5485a7de5bc84a785d188b7b0550909473d5432a..dc68d8bac5fa236e27ed61d8c817200175877899 100644 |
--- a/content/public/renderer/browser_plugin_delegate.h |
+++ b/content/public/renderer/browser_plugin_delegate.h |
@@ -10,6 +10,10 @@ |
#include "content/common/content_export.h" |
#include "ipc/ipc_message.h" |
+namespace gfx { |
+class Size; |
+} |
+ |
namespace v8 { |
class Isolate; |
class Object; |
@@ -41,6 +45,10 @@ class CONTENT_EXPORT BrowserPluginDelegate { |
// process. |
virtual void SetElementInstanceID(int element_instance_id) {} |
+ // Called when the plugin resizes. |
+ virtual void DidResizeElement(const gfx::Size& old_size, |
+ const gfx::Size& new_size) {} |
+ |
// Called when a message is received. Returns true iff the message was |
// handled. |
virtual bool OnMessageReceived(const IPC::Message& message); |