Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: ui/snapshot/snapshot_mac.mm

Issue 119753007: Add GrabWindowSnapshotAsync tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test both sync and async paths Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/snapshot/snapshot_mac.mm
diff --git a/ui/snapshot/snapshot_mac.mm b/ui/snapshot/snapshot_mac.mm
index 9057e6635b7982af7e569f890d385da652edbb45..3e28ca56cdbec12533f1c743d3edf8ea5916ce9a 100644
--- a/ui/snapshot/snapshot_mac.mm
+++ b/ui/snapshot/snapshot_mac.mm
@@ -82,4 +82,12 @@ SNAPSHOT_EXPORT void GrabWindowSnapshotAsync(
NOTIMPLEMENTED();
}
+void GrabWindowSnapshotAsync(
+ gfx::NativeWindow window,
+ const gfx::Rect& source_rect,
+ scoped_refptr<base::TaskRunner> background_task_runner,
+ const GrabWindowSnapshotAsyncCallback& callback) {
+ NOTIMPLEMENTED();
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698