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.
5 #include "ui/snapshot/test/snapshot_desktop.h"
7 #include "ui/snapshot/snapshot_win.h"
11 bool GrabDesktopSnapshot(const gfx::Rect& snapshot_bounds,
12 std::vector<unsigned char>* png_representation) {
13 return internal::GrabHwndSnapshot(NULL, snapshot_bounds, png_representation);