Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4261)

Unified Diff: chrome/browser/ui/window_snapshot/window_snapshot_aura.cc

Issue 8523022: Change snasphotting API to take in a bounds Rect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
diff --git a/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc b/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
index 843c89c7509edf8b4a52ec86215546e64c79e110..e811b98d5aeb8493d00c300e94c7f59504d33ac7 100644
--- a/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
+++ b/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
@@ -10,7 +10,8 @@
namespace browser {
gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window_handle,
- std::vector<unsigned char>* png_representation) {
+ std::vector<unsigned char>* png_representation,
+ gfx::Rect snapshot_bounds) {
// TODO(saintlou): Stub for Aura.
NOTIMPLEMENTED();
return gfx::Rect();

Powered by Google App Engine
This is Rietveld 408576698