| Index: chrome/browser/ui/window_snapshot/window_snapshot.h
|
| diff --git a/chrome/browser/ui/window_snapshot/window_snapshot.h b/chrome/browser/ui/window_snapshot/window_snapshot.h
|
| index 86884af1f9eb99bc5cf49383992887e82a059fe1..890886a58c0b965439fa101deb85a615e5111438 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot.h
|
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -18,7 +18,8 @@ namespace browser {
|
|
|
| // Grabs a snapshot of the rectangle area |snapshot_bounds| with respect to the
|
| // top left corner of the designated window and stores a PNG representation
|
| -// into a byte vector. Returns true if the operation is successful.
|
| +// into a byte vector. On Windows, |window| may be NULL to grab a snapshot of
|
| +// the primary monitor. Returns true if the operation is successful.
|
| bool GrabWindowSnapshot(gfx::NativeWindow window,
|
| std::vector<unsigned char>* png_representation,
|
| const gfx::Rect& snapshot_bounds);
|
|
|