Index: content/browser/renderer_host/render_widget_host_view_win.h |
=================================================================== |
--- content/browser/renderer_host/render_widget_host_view_win.h (revision 108480) |
+++ content/browser/renderer_host/render_widget_host_view_win.h (working copy) |
@@ -27,6 +27,7 @@ |
#include "ui/base/win/ime_input.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/point.h" |
+#include "ui/gfx/surface/accelerated_surface_win.h" |
#include "webkit/glue/webcursor.h" |
class BackingStore; |
@@ -200,6 +201,9 @@ |
bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
virtual void ShowCompositorHostWindow(bool show) OVERRIDE; |
+ virtual void AcceleratedSurfaceBuffersSwapped( |
+ const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
+ int gpu_host_id) OVERRIDE; |
virtual void OnAccessibilityNotifications( |
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params |
) OVERRIDE; |
@@ -340,6 +344,10 @@ |
// When we are doing accelerated compositing |
HWND compositor_host_window_; |
+ // Presents a texture received from another process to the compositing |
+ // window. |
+ scoped_refptr<AcceleratedSurface> accelerated_surface_; |
+ |
// true if the compositor host window must be hidden after the |
// software renderered view is updated. |
bool hide_compositor_window_at_next_paint_; |