Index: ui/snapshot/snapshot_ios.mm |
diff --git a/ui/snapshot/snapshot_ios.mm b/ui/snapshot/snapshot_ios.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b373a0367b538cde942bec6de06b133daf4b99d5 |
--- /dev/null |
+++ b/ui/snapshot/snapshot_ios.mm |
@@ -0,0 +1,25 @@ |
+// 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/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) { |
+ // TODO(bajones): Implement iOS snapshot functionality |
+ return false; |
+} |
+ |
+bool GrabWindowSnapshot(gfx::NativeWindow window, |
+ std::vector<unsigned char>* png_representation, |
+ const gfx::Rect& snapshot_bounds) { |
+ // TODO(bajones): Implement iOS snapshot functionality |
+ return false; |
+} |
+ |
+} // namespace ui |