| Index: ui/snapshot/screenshot_grabber.h
|
| diff --git a/ui/snapshot/screenshot_grabber.h b/ui/snapshot/screenshot_grabber.h
|
| index 4484be62161ef161306c3ccb5c2d5eac60987ada..555f863d870ba2042d1d2e044583591a7ed14966 100644
|
| --- a/ui/snapshot/screenshot_grabber.h
|
| +++ b/ui/snapshot/screenshot_grabber.h
|
| @@ -76,6 +76,10 @@ class SNAPSHOT_EXPORT ScreenshotGrabber {
|
| bool HasObserver(const ScreenshotGrabberObserver* observer) const;
|
|
|
| private:
|
| +#if defined(USE_AURA)
|
| + class ScopedCursorHider;
|
| +#endif
|
| +
|
| void GrabWindowSnapshotAsyncCallback(
|
| const std::string& window_identifier,
|
| base::FilePath screenshot_path,
|
| @@ -91,6 +95,11 @@ class SNAPSHOT_EXPORT ScreenshotGrabber {
|
| // Task runner for blocking tasks.
|
| scoped_refptr<base::TaskRunner> blocking_task_runner_;
|
|
|
| +#if defined(USE_AURA)
|
| + // The object to hide cursor when taking screenshot.
|
| + std::unique_ptr<ScopedCursorHider> cursor_hider_;
|
| +#endif
|
| +
|
| base::ObserverList<ScreenshotGrabberObserver> observers_;
|
| base::WeakPtrFactory<ScreenshotGrabber> factory_;
|
|
|
|
|