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

Side by Side Diff: ui/base/snapshot/snapshot_aura.cc

Issue 11399002: Implemented GetWindowSnapshot on RenderViewImpl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed aura snapshot circular dependency Created 8 years 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/base/snapshot/snapshot.h"
6
7 #include "ui/gfx/rect.h"
8
9 namespace ui {
10
11 bool GrabViewSnapshot(gfx::NativeView view,
12 std::vector<unsigned char>* png_representation,
13 const gfx::Rect& snapshot_bounds) {
14 return GrabWindowSnapshot(view, png_representation, snapshot_bounds);
15 }
16
17 bool GrabWindowSnapshot(gfx::NativeWindow window,
18 std::vector<unsigned char>* png_representation,
19 const gfx::Rect& snapshot_bounds) {
20 // TODO(bajones): Implement Aura snapshot functionality
21 return false;
22 }
23
24 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698