Index: ui/snapshot/snapshot_ios.mm |
diff --git a/ui/snapshot/snapshot_ios.mm b/ui/snapshot/snapshot_ios.mm |
index d239b71871c73f456cc216bb2465d054e119f2f0..d75f204fe8dc18897cbd96c0db4820341db2d645 100644 |
--- a/ui/snapshot/snapshot_ios.mm |
+++ b/ui/snapshot/snapshot_ios.mm |
@@ -11,15 +11,15 @@ |
namespace ui { |
bool GrabViewSnapshot(gfx::NativeView view, |
- const gfx::Rect& snapshot_bounds, |
- gfx::Image* image) { |
+ std::vector<unsigned char>* png_representation, |
+ const gfx::Rect& snapshot_bounds) { |
// TODO(bajones): Implement iOS snapshot functionality |
return false; |
} |
bool GrabWindowSnapshot(gfx::NativeWindow window, |
- const gfx::Rect& snapshot_bounds, |
- gfx::Image* image) { |
+ std::vector<unsigned char>* png_representation, |
+ const gfx::Rect& snapshot_bounds) { |
// TODO(bajones): Implement iOS snapshot functionality |
return false; |
} |
@@ -33,16 +33,20 @@ |
callback.Run(gfx::Image()); |
} |
-void GrabViewSnapshotAsync(gfx::NativeView view, |
- const gfx::Rect& source_rect, |
- const GrabWindowSnapshotAsyncCallback& callback) { |
- callback.Run(gfx::Image()); |
+void GrabViewSnapshotAsync( |
+ gfx::NativeView view, |
+ const gfx::Rect& source_rect, |
+ scoped_refptr<base::TaskRunner> background_task_runner, |
+ const GrabWindowSnapshotAsyncPNGCallback& callback) { |
+ callback.Run(scoped_refptr<base::RefCountedBytes>()); |
} |
-void GrabWindowSnapshotAsync(gfx::NativeWindow window, |
- const gfx::Rect& source_rect, |
- const GrabWindowSnapshotAsyncCallback& callback) { |
- callback.Run(gfx::Image()); |
+void GrabWindowSnapshotAsync( |
+ gfx::NativeWindow window, |
+ const gfx::Rect& source_rect, |
+ scoped_refptr<base::TaskRunner> background_task_runner, |
+ const GrabWindowSnapshotAsyncPNGCallback& callback) { |
+ callback.Run(scoped_refptr<base::RefCountedBytes>()); |
} |
} // namespace ui |