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..2925d366f2a26a93c41fde135d28d3afe981d44b 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 OnElementResize(const gfx::Size& old_size, |
Charlie Reis
2015/01/21 18:18:53
OnFoo is the naming convention we use for IPC mess
paulmeyer
2015/01/21 22:07:44
Done.
|
+ 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); |