Chromium Code Reviews| Index: content/browser/browser_plugin/old/browser_plugin_host_helper.h |
| diff --git a/content/browser/browser_plugin/old/browser_plugin_host_helper.h b/content/browser/browser_plugin/old/browser_plugin_host_helper.h |
| index f61be6379b860450fcbc937b3dcea5eabb8a984b..f56bf933edeeef20f12b3c6ee2731ef60354e64e 100644 |
| --- a/content/browser/browser_plugin/old/browser_plugin_host_helper.h |
| +++ b/content/browser/browser_plugin/old/browser_plugin_host_helper.h |
| @@ -9,6 +9,7 @@ |
| #include <string> |
| #include "base/compiler_specific.h" |
| +#include "content/common/browser_plugin_info.h" |
| #include "content/public/browser/render_view_host_observer.h" |
|
Fady Samuel
2012/07/06 15:14:44
Given you're applying changes to the new design, c
|
| #include "ipc/ipc_channel_handle.h" |
| @@ -28,14 +29,16 @@ class BrowserPluginHost; |
| class BrowserPluginHostHelper : public RenderViewHostObserver { |
| public: |
| BrowserPluginHostHelper(BrowserPluginHost* browser_plugin_host, |
| - RenderViewHost* render_view_host); |
| + RenderViewHost* render_view_host, |
| + const BrowserPluginHostMsg_Surface_Params& params); |
| virtual ~BrowserPluginHostHelper(); |
| private: |
| void OnConnectToChannel(const IPC::ChannelHandle& channel_handle); |
| void OnNavigateGuestFromEmbedder(int container_instance_id, |
| long long frame_id, |
| - const std::string& src); |
| + const std::string& src, |
| + const BrowserPluginHostMsg_Surface_Params& params); |
| void OnResizeGuest(int width, int height); |
| // RenderViewHostObserver implementation. |
| @@ -43,6 +46,10 @@ class BrowserPluginHostHelper : public RenderViewHostObserver { |
| BrowserPluginHost* browser_plugin_host_; |
| + BrowserPluginHostMsg_Surface_Params surface_params_; |
| + |
| + friend class CrappyCompositingDelegate; |
| + |
| DISALLOW_COPY_AND_ASSIGN(BrowserPluginHostHelper); |
| }; |