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

Side by Side Diff: ui/snapshot/test/snapshot_desktop_win.cc

Issue 13926006: Add ui::GrabDesktopSnapshot for Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: snapshot_test_support now win-only Created 7 years, 8 months 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
« no previous file with comments | « ui/snapshot/test/snapshot_desktop.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 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/snapshot/test/snapshot_desktop.h"
6
7 #include "ui/snapshot/snapshot_win.h"
8
9 namespace ui {
10
11 bool GrabDesktopSnapshot(const gfx::Rect& snapshot_bounds,
12 std::vector<unsigned char>* png_representation) {
13 return internal::GrabHwndSnapshot(NULL, snapshot_bounds, png_representation);
14 }
15
16 } // namespace ui
OLDNEW
« no previous file with comments | « ui/snapshot/test/snapshot_desktop.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698