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 ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_ | 5 #ifndef ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_ |
6 #define ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_ | 6 #define ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "ui/gfx/point.h" | 10 #include "ui/gfx/point.h" |
12 #include "ui/views/widget/widget_delegate.h" | 11 #include "ui/views/widget/widget_delegate.h" |
13 | 12 |
14 namespace ash { | 13 namespace ash { |
15 class ScreenshotDelegate; | 14 class ScreenshotDelegate; |
16 | 15 |
17 // The view of taking partial screenshot, i.e.: drawing region | 16 // The view of taking partial screenshot, i.e.: drawing region |
(...skipping 28 matching lines...) Expand all Loading... |
46 gfx::Point start_position_; | 45 gfx::Point start_position_; |
47 gfx::Point current_position_; | 46 gfx::Point current_position_; |
48 ScreenshotDelegate* screenshot_delegate_; | 47 ScreenshotDelegate* screenshot_delegate_; |
49 | 48 |
50 DISALLOW_COPY_AND_ASSIGN(PartialScreenshotView); | 49 DISALLOW_COPY_AND_ASSIGN(PartialScreenshotView); |
51 }; | 50 }; |
52 | 51 |
53 } // namespace ash | 52 } // namespace ash |
54 | 53 |
55 #endif // #ifndef ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_ | 54 #endif // #ifndef ASH_WM_PARTIAL_SCREENSHOT_VIEW_H_ |
OLD | NEW |