| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
| 6 #define ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 6 #define ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 void OnWindowResized() override; | 131 void OnWindowResized() override; |
| 132 void OnWindowAddedToLayout(WmWindow* child) override; | 132 void OnWindowAddedToLayout(WmWindow* child) override; |
| 133 void OnWillRemoveWindowFromLayout(WmWindow* child) override {} | 133 void OnWillRemoveWindowFromLayout(WmWindow* child) override {} |
| 134 void OnWindowRemovedFromLayout(WmWindow* child) override; | 134 void OnWindowRemovedFromLayout(WmWindow* child) override; |
| 135 void OnChildWindowVisibilityChanged(WmWindow* child, bool visibile) override; | 135 void OnChildWindowVisibilityChanged(WmWindow* child, bool visibile) override; |
| 136 void SetChildBounds(WmWindow* child, | 136 void SetChildBounds(WmWindow* child, |
| 137 const gfx::Rect& requested_bounds) override; | 137 const gfx::Rect& requested_bounds) override; |
| 138 | 138 |
| 139 // WmRootWindowControllerObserver: | 139 // WmRootWindowControllerObserver: |
| 140 void OnWorkAreaChanged() override; | 140 void OnWorkAreaChanged() override; |
| 141 void OnFullscreenStateChanged(bool is_fullscreen) override; | |
| 142 void OnShelfAlignmentChanged() override; | 141 void OnShelfAlignmentChanged() override; |
| 143 | 142 |
| 144 // wm::WindowStateObserver: | 143 // wm::WindowStateObserver: |
| 145 void OnPreWindowStateTypeChange(wm::WindowState* window_state, | 144 void OnPreWindowStateTypeChange(wm::WindowState* window_state, |
| 146 wm::WindowStateType old_type) override; | 145 wm::WindowStateType old_type) override; |
| 147 | 146 |
| 148 // WmWindowObserver: | 147 // WmWindowObserver: |
| 149 void OnWindowBoundsChanged(WmWindow* window, | 148 void OnWindowBoundsChanged(WmWindow* window, |
| 150 const gfx::Rect& old_bounds, | 149 const gfx::Rect& old_bounds, |
| 151 const gfx::Rect& new_bounds) override; | 150 const gfx::Rect& new_bounds) override; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 313 |
| 315 // Observers of dock bounds changes. | 314 // Observers of dock bounds changes. |
| 316 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_; | 315 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_; |
| 317 | 316 |
| 318 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); | 317 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); |
| 319 }; | 318 }; |
| 320 | 319 |
| 321 } // namespace ash | 320 } // namespace ash |
| 322 | 321 |
| 323 #endif // ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 322 #endif // ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
| OLD | NEW |