OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_TEST_TEST_SCREENSHOT_DELEGATE_H_ | 5 #ifndef ASH_TEST_TEST_SCREENSHOT_DELEGATE_H_ |
6 #define ASH_TEST_TEST_SCREENSHOT_DELEGATE_H_ | 6 #define ASH_TEST_TEST_SCREENSHOT_DELEGATE_H_ |
7 | 7 |
8 #include "ash/screenshot_delegate.h" | 8 #include "ash/screenshot_delegate.h" |
9 #include "base/basictypes.h" | |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" |
11 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 namespace test { | 14 namespace test { |
15 | 15 |
16 class TestScreenshotDelegate : public ScreenshotDelegate { | 16 class TestScreenshotDelegate : public ScreenshotDelegate { |
17 public: | 17 public: |
18 TestScreenshotDelegate(); | 18 TestScreenshotDelegate(); |
19 ~TestScreenshotDelegate() override; | 19 ~TestScreenshotDelegate() override; |
20 | 20 |
(...skipping 23 matching lines...) Expand all Loading... |
44 gfx::Rect last_rect_; | 44 gfx::Rect last_rect_; |
45 bool can_take_screenshot_; | 45 bool can_take_screenshot_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(TestScreenshotDelegate); | 47 DISALLOW_COPY_AND_ASSIGN(TestScreenshotDelegate); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace test | 50 } // namespace test |
51 } // namespace ash | 51 } // namespace ash |
52 | 52 |
53 #endif // ASH_TEST_TEST_SCREENSHOT_DELEGATE_H_ | 53 #endif // ASH_TEST_TEST_SCREENSHOT_DELEGATE_H_ |
OLD | NEW |