Index: ui/snapshot/snapshot_desktop_win.cc |
diff --git a/ui/snapshot/snapshot_desktop_win.cc b/ui/snapshot/snapshot_desktop_win.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..165128d21b7f8b4dd121846e5e08f9fd109f5f9b |
--- /dev/null |
+++ b/ui/snapshot/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/snapshot_desktop.h" |
+ |
+#include "ui/snapshot/snapshot_hwnd_win.h" |
+ |
+namespace ui { |
+ |
+bool GrabDesktopSnapshot(std::vector<unsigned char>* png_representation, |
+ const gfx::Rect& snapshot_bounds) { |
+ return internal::GrabHwndSnapshot(NULL, png_representation, snapshot_bounds); |
+} |
+ |
+} // namespace ui |