OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_SCREENSHOT_TAKER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_SCREENSHOT_TAKER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AURA_SCREENSHOT_TAKER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_SCREENSHOT_TAKER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/screenshot_delegate.h" | 9 #include "ash/screenshot_delegate.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 | 12 |
13 namespace aura { | 13 namespace aura { |
14 class Window; | 14 class Window; |
15 } // namespace aura | 15 } // namespace aura |
16 | 16 |
17 class ScreenshotTaker : public ash::ScreenshotDelegate { | 17 class ScreenshotTaker : public ash::ScreenshotDelegate { |
18 public: | 18 public: |
19 ScreenshotTaker(); | 19 ScreenshotTaker(); |
20 | 20 |
21 // Overridden from ash::ScreenshotDelegate: | 21 // Overridden from ash::ScreenshotDelegate: |
22 virtual void HandleTakeScreenshot(aura::Window* window) OVERRIDE; | 22 virtual void HandleTakeScreenshot(aura::Window* window) OVERRIDE; |
23 virtual void HandleTakePartialScreenshot( | 23 virtual void HandleTakePartialScreenshot( |
24 aura::Window* window, const gfx::Rect& rect) OVERRIDE; | 24 aura::Window* window, const gfx::Rect& rect) OVERRIDE; |
25 | 25 |
26 private: | 26 private: |
27 DISALLOW_COPY_AND_ASSIGN(ScreenshotTaker); | 27 DISALLOW_COPY_AND_ASSIGN(ScreenshotTaker); |
28 }; | 28 }; |
29 | 29 |
30 #endif // CHROME_BROWSER_UI_VIEWS_AURA_SCREENSHOT_TAKER_H_ | 30 #endif // CHROME_BROWSER_UI_VIEWS_ASH_SCREENSHOT_TAKER_H_ |
OLD | NEW |