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" | 7 #include "base/logging.h" |
8 #include "ui/gfx/rect.h" | 8 #include "ui/gfx/rect.h" |
9 | 9 |
10 namespace browser { | 10 namespace browser { |
11 | 11 |
12 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window_handle, | 12 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window_handle, |
13 std::vector<unsigned char>* png_representation) { | 13 std::vector<unsigned char>* png_representation, |
| 14 const gfx::Rect& snapshot_bounds) { |
14 // TODO(saintlou): Stub for Aura. | 15 // TODO(saintlou): Stub for Aura. |
15 NOTIMPLEMENTED(); | 16 NOTIMPLEMENTED(); |
16 return gfx::Rect(); | 17 return gfx::Rect(); |
17 } | 18 } |
18 | 19 |
19 } // namespace browser | 20 } // namespace browser |
OLD | NEW |