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

Unified Diff: content/browser/renderer_host/render_process_host.h

Issue 7136001: GPU compositing surface handle is no longer sent to renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/renderer_host/render_process_host.h
===================================================================
--- content/browser/renderer_host/render_process_host.h (revision 89036)
+++ content/browser/renderer_host/render_process_host.h (working copy)
@@ -14,6 +14,7 @@
#include "base/process_util.h"
#include "base/time.h"
#include "ipc/ipc_channel_proxy.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/surface/transport_dib.h"
class Profile;
@@ -222,6 +223,14 @@
// still owns the returned DIB.
virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) = 0;
+ // RenderWidgetHost / compositing surface mapping functions ------------------
+
+ // Set a mapping from a RenderWidgetHost to a compositing surface. Pass a null
+ // handle to remove the mapping.
+ virtual void SetCompositingSurface(
+ int render_widget_id,
+ gfx::PluginWindowHandle compositing_surface) = 0;
+
// Static management functions -----------------------------------------------
// Flag to run the renderer in process. This is primarily

Powered by Google App Engine
This is Rietveld 408576698