| 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 890886a58c0b965439fa101deb85a615e5111438..87bb2a75d9f9bdbdaaa8904489509394f94f609b 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot.h
|
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot.h
|
| @@ -10,6 +10,8 @@
|
|
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| +class PrefService;
|
| +
|
| namespace gfx {
|
| class Rect;
|
| }
|
| @@ -20,9 +22,12 @@ namespace browser {
|
| // 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 browser
|
|
|
|
|