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

Unified Diff: content/common/gpu/image_transport_surface.h

Issue 10689108: Aura: Have ui::Layer implement WebKit::WebExternalTextureLayerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nuke TestImageTransportFactory. 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/common/gpu/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 33c33d3d8488d6d3553c8c115d23e0c0f595e94e..0bc4bcc8f8cbd302fee0d19383c770cdea319488 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -71,6 +71,8 @@ class ImageTransportSurface {
GpuCommandBufferStub* stub,
const gfx::GLSurfaceHandle& handle);
+ virtual gfx::Size GetSize() = 0;
+
protected:
// Used by certain implements of PostSubBuffer to determine
// how much needs to be copied between frames.
@@ -177,6 +179,7 @@ class PassThroughImageTransportSurface
virtual void OnBufferPresented(uint32 sync_point) OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
+ virtual gfx::Size GetSize() OVERRIDE;
protected:
virtual ~PassThroughImageTransportSurface();

Powered by Google App Engine
This is Rietveld 408576698