| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SHELF_SHELF_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ |
| 6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ | 6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 // Overridden from SnapLayoutManager: | 149 // Overridden from SnapLayoutManager: |
| 150 void OnWindowResized() override; | 150 void OnWindowResized() override; |
| 151 void SetChildBounds(aura::Window* child, | 151 void SetChildBounds(aura::Window* child, |
| 152 const gfx::Rect& requested_bounds) override; | 152 const gfx::Rect& requested_bounds) override; |
| 153 | 153 |
| 154 // Overridden from ash::ShellObserver: | 154 // Overridden from ash::ShellObserver: |
| 155 void OnLockStateChanged(bool locked) override; | 155 void OnLockStateChanged(bool locked) override; |
| 156 void OnShelfAlignmentChanged(WmWindow* root_window) override; | 156 void OnShelfAlignmentChanged(WmWindow* root_window) override; |
| 157 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) override; | 157 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) override; |
| 158 void OnPinnedStateChanged(WmWindow* pinned_window) override; |
| 158 | 159 |
| 159 // Overriden from aura::client::ActivationChangeObserver: | 160 // Overriden from aura::client::ActivationChangeObserver: |
| 160 void OnWindowActivated( | 161 void OnWindowActivated( |
| 161 aura::client::ActivationChangeObserver::ActivationReason reason, | 162 aura::client::ActivationChangeObserver::ActivationReason reason, |
| 162 aura::Window* gained_active, | 163 aura::Window* gained_active, |
| 163 aura::Window* lost_active) override; | 164 aura::Window* lost_active) override; |
| 164 | 165 |
| 165 // Overridden from ash::LockStateObserver: | 166 // Overridden from ash::LockStateObserver: |
| 166 void OnLockStateEvent(LockStateObserver::EventType event) override; | 167 void OnLockStateEvent(LockStateObserver::EventType event) override; |
| 167 | 168 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 | 392 |
| 392 std::unique_ptr<RootWindowControllerObserverImpl> | 393 std::unique_ptr<RootWindowControllerObserverImpl> |
| 393 root_window_controller_observer_; | 394 root_window_controller_observer_; |
| 394 | 395 |
| 395 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); | 396 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); |
| 396 }; | 397 }; |
| 397 | 398 |
| 398 } // namespace ash | 399 } // namespace ash |
| 399 | 400 |
| 400 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ | 401 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ |
| OLD | NEW |