| Index: content/browser/renderer_host/render_widget_host_view.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view.h b/content/browser/renderer_host/render_widget_host_view.h
|
| index 3456a67708a87c4a1fe463dcb44f2d8b2fff4047..7b177541c6abd4658395d0883a88c109bdb36176 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view.h
|
| @@ -244,7 +244,8 @@ class RenderWidgetHostView {
|
| bool opaque, bool root) = 0;
|
| virtual void DestroyFakePluginWindowHandle(
|
| gfx::PluginWindowHandle window) = 0;
|
| - virtual void AcceleratedSurfaceSetIOSurface(
|
| + // Gives a new surface to be used.
|
| + virtual void AcceleratedSurfaceNew(
|
| gfx::PluginWindowHandle window,
|
| int32 width,
|
| int32 height,
|
| @@ -271,8 +272,14 @@ class RenderWidgetHostView {
|
| #endif
|
|
|
| #if defined(TOUCH_UI)
|
| - virtual void AcceleratedSurfaceSetIOSurface(
|
| - int32 width, int32 height, uint64 surface_id) = 0;
|
| + // Begin using a new AcceleratedSurface in the browser's view host.
|
| + // This may create a new internal surface or simply switch to using a new
|
| + // surface_id, depending on the implementation.
|
| + virtual void AcceleratedSurfaceNew(
|
| + int32 width,
|
| + int32 height,
|
| + uint64* surface_id,
|
| + TransportDIB::Handle *surface_handle) = 0;
|
| virtual void AcceleratedSurfaceBuffersSwapped(
|
| uint64 surface_id,
|
| int32 route_id,
|
|
|