| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // shelf. Specifying 0 leads to use the default. | 160 // shelf. Specifying 0 leads to use the default. |
| 161 void SetAnimationDurationOverride(int duration_override_in_ms); | 161 void SetAnimationDurationOverride(int duration_override_in_ms); |
| 162 | 162 |
| 163 // Overridden from SnapLayoutManager: | 163 // Overridden from SnapLayoutManager: |
| 164 void OnWindowResized() override; | 164 void OnWindowResized() override; |
| 165 void SetChildBounds(aura::Window* child, | 165 void SetChildBounds(aura::Window* child, |
| 166 const gfx::Rect& requested_bounds) override; | 166 const gfx::Rect& requested_bounds) override; |
| 167 | 167 |
| 168 // Overridden from ash::ShellObserver: | 168 // Overridden from ash::ShellObserver: |
| 169 void OnLockStateChanged(bool locked) override; | 169 void OnLockStateChanged(bool locked) override; |
| 170 void OnShelfAlignmentChanged(aura::Window* root_window) override; | 170 void OnShelfAlignmentChanged(WmWindow* root_window) override; |
| 171 void OnShelfAutoHideBehaviorChanged(aura::Window* root_window) override; | 171 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window) override; |
| 172 | 172 |
| 173 // Overriden from aura::client::ActivationChangeObserver: | 173 // Overriden from aura::client::ActivationChangeObserver: |
| 174 void OnWindowActivated( | 174 void OnWindowActivated( |
| 175 aura::client::ActivationChangeObserver::ActivationReason reason, | 175 aura::client::ActivationChangeObserver::ActivationReason reason, |
| 176 aura::Window* gained_active, | 176 aura::Window* gained_active, |
| 177 aura::Window* lost_active) override; | 177 aura::Window* lost_active) override; |
| 178 | 178 |
| 179 // Overridden from ash::LockStateObserver: | 179 // Overridden from ash::LockStateObserver: |
| 180 void OnLockStateEvent(LockStateObserver::EventType event) override; | 180 void OnLockStateEvent(LockStateObserver::EventType event) override; |
| 181 | 181 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 | 405 |
| 406 std::unique_ptr<RootWindowControllerObserverImpl> | 406 std::unique_ptr<RootWindowControllerObserverImpl> |
| 407 root_window_controller_observer_; | 407 root_window_controller_observer_; |
| 408 | 408 |
| 409 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); | 409 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); |
| 410 }; | 410 }; |
| 411 | 411 |
| 412 } // namespace ash | 412 } // namespace ash |
| 413 | 413 |
| 414 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ | 414 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ |
| OLD | NEW |