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

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
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/switchable_windows.cc » ('j') | 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_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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // WindowTreeHostManager::Observer: 117 // WindowTreeHostManager::Observer:
118 void OnDisplayConfigurationChanged() override; 118 void OnDisplayConfigurationChanged() override;
119 119
120 // WmShelfObserver: 120 // WmShelfObserver:
121 void WillChangeVisibilityState(ShelfVisibilityState new_state) override; 121 void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
122 void OnShelfIconPositionsChanged() override; 122 void OnShelfIconPositionsChanged() override;
123 123
124 private: 124 private:
125 friend class PanelLayoutManagerTest; 125 friend class PanelLayoutManagerTest;
126 friend class PanelWindowResizerTest; 126 friend class PanelWindowResizerTest;
127 friend class DockedWindowResizerTest;
128 friend class DockedWindowLayoutManagerTest;
129 friend class WorkspaceControllerTest; 127 friend class WorkspaceControllerTest;
130 friend class AcceleratorControllerTest; 128 friend class AcceleratorControllerTest;
131 129
132 views::Widget* CreateCalloutWidget(); 130 views::Widget* CreateCalloutWidget();
133 131
134 struct ASH_EXPORT PanelInfo { 132 struct ASH_EXPORT PanelInfo {
135 PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {} 133 PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {}
136 134
137 bool operator==(const WmWindow* other_window) const { 135 bool operator==(const WmWindow* other_window) const {
138 return window == other_window; 136 return window == other_window;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 keyboard_observer_; 204 keyboard_observer_;
207 205
208 base::WeakPtrFactory<PanelLayoutManager> weak_factory_; 206 base::WeakPtrFactory<PanelLayoutManager> weak_factory_;
209 207
210 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager); 208 DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
211 }; 209 };
212 210
213 } // namespace ash 211 } // namespace ash
214 212
215 #endif // ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_ 213 #endif // ASH_COMMON_WM_PANELS_PANEL_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/switchable_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698