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

Unified Diff: ui/snapshot/snapshot_win.cc

Issue 119753007: Add GrabWindowSnapshotAsync tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, compiling Created 6 years, 11 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
« no previous file with comments | « ui/snapshot/snapshot_mac.mm ('k') | ui/views/test/views_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_win.cc
diff --git a/ui/snapshot/snapshot_win.cc b/ui/snapshot/snapshot_win.cc
index fc157bed2d2b586bd43d975cd4fca38b4e1e3616..da9f1ccbd0195ff50ed83ce02a98f045972e1b52 100644
--- a/ui/snapshot/snapshot_win.cc
+++ b/ui/snapshot/snapshot_win.cc
@@ -119,7 +119,7 @@ bool GrabWindowSnapshot(gfx::NativeWindow window_handle,
png_representation);
}
-SNAPSHOT_EXPORT void GrapWindowSnapshotAsync(
+void GrapWindowSnapshotAsync(
gfx::NativeWindow window,
const gfx::Rect& snapshot_bounds,
const gfx::Size& target_size,
@@ -128,6 +128,14 @@ SNAPSHOT_EXPORT void GrapWindowSnapshotAsync(
NOTIMPLEMENTED();
}
+void GrabWindowSnapshotAsync(
+ gfx::NativeWindow window,
+ const gfx::Rect& source_rect,
+ scoped_refptr<base::TaskRunner> background_task_runner,
+ const GrabWindowSnapshotAsyncCallback& callback) {
+ NOTIMPLEMENTED();
+}
+
#endif // !defined(USE_AURA)
} // namespace ui
« no previous file with comments | « ui/snapshot/snapshot_mac.mm ('k') | ui/views/test/views_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698