OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" | 5 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" |
6 | 6 |
7 #include "base/logging.h" | |
8 #include "ui/gfx/rect.h" | 7 #include "ui/gfx/rect.h" |
9 | 8 |
10 namespace browser { | 9 namespace browser { |
11 | 10 |
12 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window_handle, | 11 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow native_window, |
13 std::vector<unsigned char>* png_representation) { | 12 std::vector<unsigned char>* png_representation) { |
14 // TODO(saintlou): Stub for Aura. | 13 return GrabWindowSnapshot(native_window, png_representation, gfx::Rect()); |
15 NOTIMPLEMENTED(); | |
16 return gfx::Rect(); | |
17 } | 14 } |
18 | 15 |
19 } // namespace browser | 16 } // namespace browser |
OLD | NEW |