Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: ash/wm/panels/panel_layout_manager.h

Issue 19054013: Implement automatic layout and stacking for docked windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_233331_sized
Patch Set: Implement automatic layout and stacking (test on win_aura) Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/wm/dock/docked_window_resizer_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ash/wm/dock/docked_window_resizer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698