| 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 a6985972c6d06085b51447d8eb2842659eb6a20f..bad52012aefd21c6f7ae39856540e8154468b70a 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot.h
|
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot.h
|
| @@ -9,6 +9,8 @@
|
|
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| +class PrefService;
|
| +
|
| namespace gfx {
|
| class Rect;
|
| }
|
| @@ -19,9 +21,12 @@ namespace chrome {
|
| // top left corner of the designated window and stores a PNG representation
|
| // 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);
|
| +bool GrabWindowSnapshot(
|
| + gfx::NativeWindow window,
|
| + std::vector<unsigned char>* png_representation,
|
| + const gfx::Rect& snapshot_bounds);
|
| +
|
| +void RegisterScreenshotPrefs(PrefService* service);
|
|
|
| } // namespace chrome
|
|
|
|
|