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_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 Loading... |
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 Loading... |
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_ |
OLD | NEW |