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

Side by Side Diff: chrome/browser/ui/window_snapshot/window_snapshot.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 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"
8 #include "ui/gfx/rect.h" 7 #include "ui/gfx/rect.h"
9 8
10 namespace browser { 9 namespace browser {
11 10
12 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window_handle, 11 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow native_window,
13 std::vector<unsigned char>* png_representation) { 12 std::vector<unsigned char>* png_representation) {
14 // TODO(saintlou): Stub for Aura. 13 return GrabWindowSnapshot(native_window, png_representation, gfx::Rect());
15 NOTIMPLEMENTED();
16 return gfx::Rect();
17 } 14 }
18 15
19 } // namespace browser 16 } // namespace browser
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698