Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: content/browser/browser_plugin/old/browser_plugin_host_helper.h

Issue 10735010: 3D Compositing in <browser>, first draft. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698