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

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

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 9 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
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_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 5 #ifndef ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
6 #define ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 6 #define ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Overridden from WindowTreeHostManager::Observer 113 // Overridden from WindowTreeHostManager::Observer
114 void OnDisplayConfigurationChanged() override; 114 void OnDisplayConfigurationChanged() override;
115 115
116 // Overridden from WmShelfObserver 116 // Overridden from WmShelfObserver
117 void WillChangeVisibilityState(ShelfVisibilityState new_state) override; 117 void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
118 void OnShelfIconPositionsChanged() override; 118 void OnShelfIconPositionsChanged() override;
119 119
120 private: 120 private:
121 friend class PanelLayoutManagerTest; 121 friend class PanelLayoutManagerTest;
122 friend class PanelWindowResizerTest; 122 friend class PanelWindowResizerTest;
123 friend class DockedWindowResizerTest;
124 friend class DockedWindowLayoutManagerTest;
125 friend class WorkspaceControllerTest; 123 friend class WorkspaceControllerTest;
126 friend class AcceleratorControllerTest; 124 friend class AcceleratorControllerTest;
127 125
128 views::Widget* CreateCalloutWidget(); 126 views::Widget* CreateCalloutWidget();
129 127
130 struct ASH_EXPORT PanelInfo { 128 struct ASH_EXPORT PanelInfo {
131 PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {} 129 PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {}
132 130
133 bool operator==(const WmWindow* other_window) const { 131 bool operator==(const WmWindow* other_window) const {
134 return window == other_window; 132 return window == other_window;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // are currently focused. 195 // are currently focused.
198 WmWindow* last_active_panel_; 196 WmWindow* last_active_panel_;
199 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; 197 base::WeakPtrFactory<PanelLayoutManager> weak_factory_;
200 198
201 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); 199 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
202 }; 200 };
203 201
204 } // namespace ash 202 } // namespace ash
205 203
206 #endif // ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 204 #endif // ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698