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

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: Nicer diff 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..aa2759e8431900578aa0b434db129bc0dc161d3c 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,
+ const gfx::Rect& snapshot_bounds) {
// TODO(saintlou): Stub for Aura.
NOTIMPLEMENTED();
return gfx::Rect();
« no previous file with comments | « chrome/browser/ui/window_snapshot/window_snapshot.h ('k') | chrome/browser/ui/window_snapshot/window_snapshot_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698