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..ef1f89d91713fad32a7d34bf11f926dc949fbc5f 100644 |
--- a/content/browser/compositor/surface_utils.h |
+++ b/content/browser/compositor/surface_utils.h |
@@ -6,8 +6,16 @@ |
#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" |
+ |
+class SkAutoLockPixels; |
ncarter (slow)
2016/01/20 21:20:49
Seems unused.
wjmaclean
2016/01/20 21:45:19
Done.
|
+class SkBitmap; |
ncarter (slow)
2016/01/20 21:20:49
Seems unused.
wjmaclean
2016/01/20 21:45:19
Done.
|
namespace cc { |
+class CopyOutputResult; |
+class SingleReleaseCallback; |
ncarter (slow)
2016/01/20 21:20:49
Seems unused.
wjmaclean
2016/01/20 21:45:19
Done.
Thanks for spotting these unused cases!
|
class SurfaceIdAllocator; |
class SurfaceManager; |
} // namespace cc |
@@ -18,6 +26,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_ |