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