Chromium Code Reviews| Index: chrome/browser/ui/window_snapshot/window_snapshot.h |
| diff --git a/chrome/browser/ui/window_snapshot/window_snapshot.h b/chrome/browser/ui/window_snapshot/window_snapshot.h |
| index 51786628ed7581962c8730b4c7bed2429e42be13..2d7baf8752b527a558c2c1c081ff6075a3fc8a77 100644 |
| --- a/chrome/browser/ui/window_snapshot/window_snapshot.h |
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot.h |
| @@ -21,6 +21,13 @@ namespace browser { |
| gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window, |
| std::vector<unsigned char>* png_representation); |
|
sky
2011/11/14 16:23:09
Can we remove this one in favor of the new one?
|
| +// Grabs a snapshot of the rectangle area |snapshot_bounds| with respect to the |
| +// top left corner of the designated window and stores a PNG representation |
| +// into a byte vector. Returns the image bounds. |
| +gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window, |
| + std::vector<unsigned char>* png_representation, |
| + const gfx::Rect snapshot_bounds); |
|
sky
2011/11/14 16:23:09
const gfx::Rect&
|
| + |
| } // namespace browser |
| #endif // CHROME_BROWSER_UI_WINDOW_SNAPSHOT_WINDOW_SNAPSHOT_H_ |