Chromium Code Reviews| Index: content/browser/browser_plugin/old/browser_plugin_host.h |
| diff --git a/content/browser/browser_plugin/old/browser_plugin_host.h b/content/browser/browser_plugin/old/browser_plugin_host.h |
| index 8f9413d2f52891e70f701fc00759d0a0719cdf3e..cc33e94c3d7606cabac7c0027edb4b9cb3991fb7 100644 |
| --- a/content/browser/browser_plugin/old/browser_plugin_host.h |
| +++ b/content/browser/browser_plugin/old/browser_plugin_host.h |
| @@ -9,6 +9,7 @@ |
| #include <map> |
| #include "base/compiler_specific.h" |
| +#include "content/common/browser_plugin_info.h" |
|
Fady Samuel
2012/07/06 15:14:44
Given you're applying changes to the new design, c
scshunt
2012/07/06 16:39:03
Yeah. It was leftover. I did no cleaning on this p
|
| #include "content/public/browser/notification_observer.h" |
| #include "content/public/browser/notification_registrar.h" |
| #include "content/public/browser/web_contents_delegate.h" |
| @@ -51,13 +52,20 @@ class BrowserPluginHost : public WebContentsObserver, |
| void NavigateGuestFromEmbedder(RenderViewHost* render_view_host, |
| int container_instance_id, |
| long long frame_id, |
| - const std::string& src); |
| + const std::string& src, |
| + const BrowserPluginHostMsg_Surface_Params& params); |
| RenderProcessHost* embedder_render_process_host() const { |
| return embedder_render_process_host_; |
| } |
| int instance_id() const { return instance_id_; } |
| + void set_surface_params(const BrowserPluginHostMsg_Surface_Params& params) { |
| + surface_params_ = params; |
| + } |
| + |
| + void SendSurfaceNewToEmbedder(const BrowserPlugMsg_SurfaceNew_Params& params); |
| + |
| private: |
| typedef std::map<WebContentsImpl*, int64> GuestMap; |
| typedef std::map<int, BrowserPluginHost*> ContainerInstanceMap; |
| @@ -125,6 +133,8 @@ class BrowserPluginHost : public WebContentsObserver, |
| GuestMap guests_; |
| ContainerInstanceMap guests_by_container_id_; |
| + BrowserPluginHostMsg_Surface_Params surface_params_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(BrowserPluginHost); |
| }; |