| 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_PANELS_PANEL_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| 6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 PanelList panel_windows_; | 165 PanelList panel_windows_; |
| 166 // The panel being dragged. | 166 // The panel being dragged. |
| 167 aura::Window* dragged_panel_; | 167 aura::Window* dragged_panel_; |
| 168 // The launcher we are observing for launcher icon changes. | 168 // The launcher we are observing for launcher icon changes. |
| 169 Launcher* launcher_; | 169 Launcher* launcher_; |
| 170 // The shelf layout manager being observed for visibility changes. | 170 // The shelf layout manager being observed for visibility changes. |
| 171 ShelfLayoutManager* shelf_layout_manager_; | 171 ShelfLayoutManager* shelf_layout_manager_; |
| 172 // Tracks the visibility of the shelf. Defaults to false when there is no | 172 // Tracks the visibility of the shelf. Defaults to false when there is no |
| 173 // shelf. | 173 // shelf. |
| 174 bool shelf_hidden_; | 174 bool shelf_hidden_; |
| 175 // The last active panel. Used to maintain stacking even if no panels are | 175 // The last active panel. Used to maintain stacking order even if no panels |
| 176 // currently focused. | 176 // are currently focused. |
| 177 aura::Window* last_active_panel_; | 177 aura::Window* last_active_panel_; |
| 178 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; | 178 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; |
| 179 | 179 |
| 180 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); | 180 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 } // namespace internal | 183 } // namespace internal |
| 184 } // namespace ash | 184 } // namespace ash |
| 185 | 185 |
| 186 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ | 186 #endif // ASH_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ |
| OLD | NEW |