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_COMMON_SYSTEM_STATUS_AREA_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_SYSTEM_STATUS_AREA_LAYOUT_MANAGER_H_ |
6 #define ASH_COMMON_SYSTEM_STATUS_AREA_LAYOUT_MANAGER_H_ | 6 #define ASH_SYSTEM_STATUS_AREA_LAYOUT_MANAGER_H_ |
7 | 7 |
8 #include "ash/common/wm/wm_snap_to_pixel_layout_manager.h" | 8 #include "ash/common/wm/wm_snap_to_pixel_layout_manager.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 class ShelfWidget; | 13 class ShelfWidget; |
14 | 14 |
15 // StatusAreaLayoutManager is a layout manager responsible for the status area. | 15 // StatusAreaLayoutManager is a layout manager responsible for the status area. |
16 // In any case when status area needs relayout it redirects this call to | 16 // In any case when status area needs relayout it redirects this call to |
(...skipping 17 matching lines...) Expand all Loading... |
34 // Used to prevent calling itself again from SetChildBounds(). | 34 // Used to prevent calling itself again from SetChildBounds(). |
35 bool in_layout_; | 35 bool in_layout_; |
36 | 36 |
37 ShelfWidget* shelf_widget_; | 37 ShelfWidget* shelf_widget_; |
38 | 38 |
39 DISALLOW_COPY_AND_ASSIGN(StatusAreaLayoutManager); | 39 DISALLOW_COPY_AND_ASSIGN(StatusAreaLayoutManager); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace ash | 42 } // namespace ash |
43 | 43 |
44 #endif // ASH_COMMON_SYSTEM_STATUS_AREA_LAYOUT_MANAGER_H_ | 44 #endif // ASH_SYSTEM_STATUS_AREA_LAYOUT_MANAGER_H_ |
OLD | NEW |