| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 190 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 191 views::Widget* widget); | 191 views::Widget* widget); |
| 192 | 192 |
| 193 // Sets work area insets of the display containing |window|, pings observers. | 193 // Sets work area insets of the display containing |window|, pings observers. |
| 194 void SetDisplayWorkAreaInsets(aura::Window* window, | 194 void SetDisplayWorkAreaInsets(aura::Window* window, |
| 195 const gfx::Insets& insets); | 195 const gfx::Insets& insets); |
| 196 | 196 |
| 197 // Called when the user logs in. | 197 // Called when the user logs in. |
| 198 void OnLoginStateChanged(LoginStatus status); | 198 void OnLoginStateChanged(LoginStatus status); |
| 199 | 199 |
| 200 // Called after the logged-in user's profile is ready. | |
| 201 void OnLoginUserProfilePrepared(); | |
| 202 | |
| 203 // Called when the application is exiting. | 200 // Called when the application is exiting. |
| 204 void OnAppTerminating(); | 201 void OnAppTerminating(); |
| 205 | 202 |
| 206 // Called when the screen is locked (after the lock window is visible) or | 203 // Called when the screen is locked (after the lock window is visible) or |
| 207 // unlocked. | 204 // unlocked. |
| 208 void OnLockStateChanged(bool locked); | 205 void OnLockStateChanged(bool locked); |
| 209 | 206 |
| 210 // Called when a casting session is started or stopped. | 207 // Called when a casting session is started or stopped. |
| 211 void OnCastingSessionStartedOrStopped(bool started); | 208 void OnCastingSessionStartedOrStopped(bool started); |
| 212 | 209 |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 std::unique_ptr<GPUSupport> gpu_support_; | 541 std::unique_ptr<GPUSupport> gpu_support_; |
| 545 | 542 |
| 546 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 543 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
| 547 | 544 |
| 548 DISALLOW_COPY_AND_ASSIGN(Shell); | 545 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 549 }; | 546 }; |
| 550 | 547 |
| 551 } // namespace ash | 548 } // namespace ash |
| 552 | 549 |
| 553 #endif // ASH_SHELL_H_ | 550 #endif // ASH_SHELL_H_ |
| OLD | NEW |