Index: cc/surfaces/surface_factory.h |
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h |
index fafa53c540f47073c59189d1a25e062d3dfa3329..0a2ece7aeed11047d2c8ec1bd42c599322e3811d 100644 |
--- a/cc/surfaces/surface_factory.h |
+++ b/cc/surfaces/surface_factory.h |
@@ -19,6 +19,7 @@ class Size; |
namespace cc { |
class CompositorFrame; |
+class CopyOutputRequest; |
class Surface; |
class SurfaceFactoryClient; |
class SurfaceManager; |
@@ -42,6 +43,8 @@ class CC_SURFACES_EXPORT SurfaceFactory |
void SubmitFrame(SurfaceId surface_id, |
scoped_ptr<CompositorFrame> frame, |
const base::Closure& callback); |
+ void RequestCopyOfSurface(SurfaceId surface_id, |
+ scoped_ptr<CopyOutputRequest> copy_request); |
SurfaceFactoryClient* client() { return client_; } |