| 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,
|
| + 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);
|
|
|