Index: content/browser/renderer_host/render_process_host.h |
=================================================================== |
--- content/browser/renderer_host/render_process_host.h (revision 90090) |
+++ 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 |