| 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_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
| 6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // Creates a default views::NonClientFrameView for use by windows in the | 233 // Creates a default views::NonClientFrameView for use by windows in the |
| 234 // Ash environment. | 234 // Ash environment. |
| 235 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 235 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 236 views::Widget* widget); | 236 views::Widget* widget); |
| 237 | 237 |
| 238 // Sets work area insets of the display containing |window|, pings observers. | 238 // Sets work area insets of the display containing |window|, pings observers. |
| 239 void SetDisplayWorkAreaInsets(aura::Window* window, | 239 void SetDisplayWorkAreaInsets(aura::Window* window, |
| 240 const gfx::Insets& insets); | 240 const gfx::Insets& insets); |
| 241 | 241 |
| 242 // Called when the user logs in. | 242 // Called when the user logs in. |
| 243 // TODO(jamescook): Merge this with WmShell::UpdateAfterLoginStatusChange()? |
| 243 void OnLoginStateChanged(LoginStatus status); | 244 void OnLoginStateChanged(LoginStatus status); |
| 244 | 245 |
| 245 // Called when the application is exiting. | 246 // Called when the application is exiting. |
| 246 void OnAppTerminating(); | 247 void OnAppTerminating(); |
| 247 | 248 |
| 248 // Called when the screen is locked (after the lock window is visible) or | 249 // Called when the screen is locked (after the lock window is visible) or |
| 249 // unlocked. | 250 // unlocked. |
| 250 void OnLockStateChanged(bool locked); | 251 void OnLockStateChanged(bool locked); |
| 251 | 252 |
| 252 // Called when a casting session is started or stopped. | 253 // Called when a casting session is started or stopped. |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 base::ObserverList<ShellObserver> shell_observers_; | 672 base::ObserverList<ShellObserver> shell_observers_; |
| 672 | 673 |
| 673 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 674 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 674 | 675 |
| 675 DISALLOW_COPY_AND_ASSIGN(Shell); | 676 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 676 }; | 677 }; |
| 677 | 678 |
| 678 } // namespace ash | 679 } // namespace ash |
| 679 | 680 |
| 680 #endif // ASH_SHELL_H_ | 681 #endif // ASH_SHELL_H_ |
| OLD | NEW |