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_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ | 5 #ifndef ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ |
6 #define ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ | 6 #define ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ |
7 | 7 |
8 #include "ash/wm/window_state_observer.h" | 8 #include "ash/wm/window_state_observer.h" |
| 9 #include "base/macros.h" |
9 #include "ui/aura/window_observer.h" | 10 #include "ui/aura/window_observer.h" |
10 #include "ui/aura/window_targeter.h" | 11 #include "ui/aura/window_targeter.h" |
11 #include "ui/gfx/geometry/insets.h" | 12 #include "ui/gfx/geometry/insets.h" |
12 | 13 |
13 namespace ash { | 14 namespace ash { |
14 | 15 |
15 class ImmersiveFullscreenController; | 16 class ImmersiveFullscreenController; |
16 | 17 |
17 // To allow easy resize, the resize handles should slightly overlap the content | 18 // To allow easy resize, the resize handles should slightly overlap the content |
18 // area of non-maximized and non-fullscreen windows. For immersive fullscreen | 19 // area of non-maximized and non-fullscreen windows. For immersive fullscreen |
(...skipping 26 matching lines...) Expand all Loading... |
45 aura::Window* window_; | 46 aura::Window* window_; |
46 gfx::Insets frame_border_inset_; | 47 gfx::Insets frame_border_inset_; |
47 ImmersiveFullscreenController* immersive_controller_; | 48 ImmersiveFullscreenController* immersive_controller_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(ResizeHandleWindowTargeter); | 50 DISALLOW_COPY_AND_ASSIGN(ResizeHandleWindowTargeter); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace ash | 53 } // namespace ash |
53 | 54 |
54 #endif // ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ | 55 #endif // ASH_WM_RESIZE_HANDLE_WINDOW_TARGETER_H_ |
OLD | NEW |