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 |
209 // Called when the application is exiting. | 212 // Called when the application is exiting. |
210 void OnAppTerminating(); | 213 void OnAppTerminating(); |
211 | 214 |
212 // Called when the screen is locked (after the lock window is visible) or | 215 // Called when the screen is locked (after the lock window is visible) or |
213 // unlocked. | 216 // unlocked. |
214 void OnLockStateChanged(bool locked); | 217 void OnLockStateChanged(bool locked); |
215 | 218 |
216 // Called when a casting session is started or stopped. | 219 // Called when a casting session is started or stopped. |
217 void OnCastingSessionStartedOrStopped(bool started); | 220 void OnCastingSessionStartedOrStopped(bool started); |
218 | 221 |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 std::unique_ptr<GPUSupport> gpu_support_; | 541 std::unique_ptr<GPUSupport> gpu_support_; |
539 | 542 |
540 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 543 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
541 | 544 |
542 DISALLOW_COPY_AND_ASSIGN(Shell); | 545 DISALLOW_COPY_AND_ASSIGN(Shell); |
543 }; | 546 }; |
544 | 547 |
545 } // namespace ash | 548 } // namespace ash |
546 | 549 |
547 #endif // ASH_SHELL_H_ | 550 #endif // ASH_SHELL_H_ |
OLD | NEW |