Index: ui/snapshot/test/snapshot_desktop_win.cc |
diff --git a/ui/snapshot/test/snapshot_desktop_win.cc b/ui/snapshot/test/snapshot_desktop_win.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d4a29b49b30629bfca9e616f504ac636df21655 |
--- /dev/null |
+++ b/ui/snapshot/test/snapshot_desktop_win.cc |
@@ -0,0 +1,16 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ui/snapshot/test/snapshot_desktop.h" |
+ |
+#include "ui/snapshot/snapshot_win.h" |
+ |
+namespace ui { |
+ |
+bool GrabDesktopSnapshot(const gfx::Rect& snapshot_bounds, |
+ std::vector<unsigned char>* png_representation) { |
+ return internal::GrabHwndSnapshot(NULL, snapshot_bounds, png_representation); |
+} |
+ |
+} // namespace ui |