OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_ | 5 #ifndef ASH_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_ |
6 #define ASH_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_ | 6 #define ASH_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/common/frame/caption_buttons/frame_caption_button.h" | 11 #include "ash/frame/caption_buttons/frame_caption_button.h" |
12 #include "ash/common/frame/caption_buttons/frame_size_button_delegate.h" | 12 #include "ash/frame/caption_buttons/frame_size_button_delegate.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 class Widget; | 17 class Widget; |
18 } | 18 } |
19 | 19 |
20 namespace ash { | 20 namespace ash { |
21 class FrameSizeButtonDelegate; | 21 class FrameSizeButtonDelegate; |
22 class PhantomWindowController; | 22 class PhantomWindowController; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // Displays a preview of how the window's bounds will change as a result of | 110 // Displays a preview of how the window's bounds will change as a result of |
111 // snapping the window left or right. The preview is only visible if the snap | 111 // snapping the window left or right. The preview is only visible if the snap |
112 // left or snap right button is pressed. | 112 // left or snap right button is pressed. |
113 std::unique_ptr<PhantomWindowController> phantom_window_controller_; | 113 std::unique_ptr<PhantomWindowController> phantom_window_controller_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(FrameSizeButton); | 115 DISALLOW_COPY_AND_ASSIGN(FrameSizeButton); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace ash | 118 } // namespace ash |
119 | 119 |
120 #endif // ASH_COMMON_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_ | 120 #endif // ASH_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_ |
OLD | NEW |