Index: ui/base/snapshot/snapshot_aura.cc |
diff --git a/ui/base/snapshot/snapshot_aura.cc b/ui/base/snapshot/snapshot_aura.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..152f2c8ae06539925e47caca4cfd4943e69b6263 |
--- /dev/null |
+++ b/ui/base/snapshot/snapshot_aura.cc |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2012 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/base/snapshot/snapshot.h" |
+ |
+#include "ui/gfx/rect.h" |
+ |
+namespace ui { |
+ |
+bool GrabViewSnapshot(gfx::NativeView view, |
+ std::vector<unsigned char>* png_representation, |
+ const gfx::Rect& snapshot_bounds) { |
+ return GrabWindowSnapshot(view, png_representation, snapshot_bounds); |
+} |
+ |
+bool GrabWindowSnapshot(gfx::NativeWindow window, |
+ std::vector<unsigned char>* png_representation, |
+ const gfx::Rect& snapshot_bounds) { |
+ // TODO(bajones): Implement Aura snapshot functionality |
+ return false; |
+} |
+ |
+} // namespace ui |