| Index: content/browser/compositor/surface_utils.h
|
| diff --git a/content/browser/compositor/surface_utils.h b/content/browser/compositor/surface_utils.h
|
| index b56fef2717070218c8d990c1bf901718e58ef5ab..00d0fd77bf66bb271961f06656e24395eca5a226 100644
|
| --- a/content/browser/compositor/surface_utils.h
|
| +++ b/content/browser/compositor/surface_utils.h
|
| @@ -6,8 +6,12 @@
|
| #define CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "content/public/browser/readback_types.h"
|
| +#include "third_party/skia/include/core/SkImageInfo.h"
|
| +#include "ui/gfx/geometry/size.h"
|
|
|
| namespace cc {
|
| +class CopyOutputResult;
|
| class SurfaceIdAllocator;
|
| class SurfaceManager;
|
| } // namespace cc
|
| @@ -18,6 +22,12 @@ scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator();
|
|
|
| cc::SurfaceManager* GetSurfaceManager();
|
|
|
| +void CopyFromCompositingSurfaceHasResult(
|
| + const gfx::Size& dst_size_in_pixel,
|
| + const SkColorType color_type,
|
| + const ReadbackRequestCallback& callback,
|
| + scoped_ptr<cc::CopyOutputResult> result);
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
|
|
|