Index: ui/snapshot/snapshot_ios.mm |
diff --git a/ui/snapshot/snapshot_ios.mm b/ui/snapshot/snapshot_ios.mm |
index d75f204fe8dc18897cbd96c0db4820341db2d645..1b06557b12789230a0b257c490082a84137336a3 100644 |
--- a/ui/snapshot/snapshot_ios.mm |
+++ b/ui/snapshot/snapshot_ios.mm |
@@ -12,14 +12,18 @@ namespace ui { |
bool GrabViewSnapshot(gfx::NativeView view, |
std::vector<unsigned char>* png_representation, |
- const gfx::Rect& snapshot_bounds) { |
+ const gfx::Rect& snapshot_bounds, |
+ SnapshotEncoding encoding, |
+ SnapshotQuality quality) { |
// TODO(bajones): Implement iOS snapshot functionality |
return false; |
} |
bool GrabWindowSnapshot(gfx::NativeWindow window, |
std::vector<unsigned char>* png_representation, |
- const gfx::Rect& snapshot_bounds) { |
+ const gfx::Rect& snapshot_bounds, |
+ SnapshotEncoding encoding, |
+ SnapshotQuality quality) { |
// TODO(bajones): Implement iOS snapshot functionality |
return false; |
} |
@@ -37,7 +41,9 @@ void GrabViewSnapshotAsync( |
gfx::NativeView view, |
const gfx::Rect& source_rect, |
scoped_refptr<base::TaskRunner> background_task_runner, |
- const GrabWindowSnapshotAsyncPNGCallback& callback) { |
+ const GrabWindowSnapshotAsyncEncodedCallback& callback, |
+ SnapshotEncoding encoding, |
+ SnapshotQuality quality) { |
callback.Run(scoped_refptr<base::RefCountedBytes>()); |
} |
@@ -45,7 +51,9 @@ void GrabWindowSnapshotAsync( |
gfx::NativeWindow window, |
const gfx::Rect& source_rect, |
scoped_refptr<base::TaskRunner> background_task_runner, |
- const GrabWindowSnapshotAsyncPNGCallback& callback) { |
+ const GrabWindowSnapshotAsyncEncodedCallback& callback, |
+ SnapshotEncoding encoding, |
+ SnapshotQuality quality) { |
callback.Run(scoped_refptr<base::RefCountedBytes>()); |
} |