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_WM_COMMON_WINDOW_POSITIONER_H_ | 5 #ifndef ASH_WM_COMMON_WINDOW_POSITIONER_H_ |
6 #define ASH_WM_COMMON_WINDOW_POSITIONER_H_ | 6 #define ASH_WM_COMMON_WINDOW_POSITIONER_H_ |
7 | 7 |
8 #include "ash/wm/common/ash_wm_common_export.h" | 8 #include "ash/wm/common/ash_wm_common_export.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
11 | 11 |
| 12 namespace display { |
| 13 class Display; |
| 14 } |
| 15 |
12 namespace gfx { | 16 namespace gfx { |
13 class Display; | |
14 class Rect; | 17 class Rect; |
15 } | 18 } |
16 | 19 |
17 namespace display { | |
18 using Display = gfx::Display; | |
19 } | |
20 | |
21 namespace ash { | 20 namespace ash { |
22 namespace wm { | 21 namespace wm { |
23 class WmGlobals; | 22 class WmGlobals; |
24 class WmWindow; | 23 class WmWindow; |
25 } | 24 } |
26 | 25 |
27 namespace test { | 26 namespace test { |
28 class WindowPositionerTest; | 27 class WindowPositionerTest; |
29 } | 28 } |
30 | 29 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // The last used position. | 123 // The last used position. |
125 int last_popup_position_x_; | 124 int last_popup_position_x_; |
126 int last_popup_position_y_; | 125 int last_popup_position_y_; |
127 | 126 |
128 DISALLOW_COPY_AND_ASSIGN(WindowPositioner); | 127 DISALLOW_COPY_AND_ASSIGN(WindowPositioner); |
129 }; | 128 }; |
130 | 129 |
131 } // namespace ash | 130 } // namespace ash |
132 | 131 |
133 #endif // ASH_WM_COMMON_WINDOW_POSITIONER_H_ | 132 #endif // ASH_WM_COMMON_WINDOW_POSITIONER_H_ |
OLD | NEW |