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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698