Chromium Code Reviews| Index: content/browser/browser_plugin/browser_plugin_guest.h |
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
| index 31736c47fc12bc6ebd09b8ff2d5955151f1dd0c2..b45f489d20fe49f8e168e81807e4435afcf8d868 100644 |
| --- a/content/browser/browser_plugin/browser_plugin_guest.h |
| +++ b/content/browser/browser_plugin/browser_plugin_guest.h |
| @@ -43,6 +43,7 @@ |
| #include "ui/gfx/rect.h" |
| #include "webkit/glue/webcursor.h" |
| +struct BrowserPluginHostMsg_CreateGuest_Params; |
| class TransportDIB; |
| struct ViewHostMsg_UpdateRect_Params; |
| struct WebDropData; |
| @@ -68,11 +69,11 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver, |
| public: |
| virtual ~BrowserPluginGuest(); |
| - static BrowserPluginGuest* Create(int instance_id, |
| - WebContentsImpl* web_contents, |
| - content::RenderViewHost* render_view_host, |
| - bool focused, |
| - bool visible); |
| + static BrowserPluginGuest* Create( |
| + int instance_id, |
| + WebContentsImpl* web_contents, |
| + content::RenderViewHost* render_view_host, |
| + const BrowserPluginHostMsg_CreateGuest_Params& params); |
| // Overrides factory for testing. Default (NULL) value indicates regular |
| // (non-test) environment. |
| @@ -219,8 +220,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver, |
| BrowserPluginGuest(int instance_id, |
| WebContentsImpl* web_contents, |
| RenderViewHost* render_view_host, |
| - bool focused, |
| - bool visible); |
| + const BrowserPluginHostMsg_CreateGuest_Params& params); |
| // Returns the identifier that uniquely identifies a browser plugin guest |
| // within an embedder. |
| @@ -262,6 +262,11 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver, |
| base::TimeDelta guest_hang_timeout_; |
| bool focused_; |
| bool visible_; |
| + bool autosize_; |
| + int minwidth_; |
|
jam
2012/11/02 19:11:10
ditto
Fady Samuel
2012/11/02 20:32:23
Done.
|
| + int maxwidth_; |
| + int minheight_; |
| + int maxheight_; |
| DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); |
| }; |