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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 189 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
190 views::Widget* widget); | 190 views::Widget* widget); |
191 | 191 |
192 // Sets work area insets of the display containing |window|, pings observers. | 192 // Sets work area insets of the display containing |window|, pings observers. |
193 void SetDisplayWorkAreaInsets(aura::Window* window, | 193 void SetDisplayWorkAreaInsets(aura::Window* window, |
194 const gfx::Insets& insets); | 194 const gfx::Insets& insets); |
195 | 195 |
196 // Called when the user logs in. | 196 // Called when the user logs in. |
197 void OnLoginStateChanged(LoginStatus status); | 197 void OnLoginStateChanged(LoginStatus status); |
198 | 198 |
| 199 // Called after the logged-in user's profile is ready. |
| 200 void OnLoginUserProfilePrepared(); |
| 201 |
199 // Called when the application is exiting. | 202 // Called when the application is exiting. |
200 void OnAppTerminating(); | 203 void OnAppTerminating(); |
201 | 204 |
202 // Called when the screen is locked (after the lock window is visible) or | 205 // Called when the screen is locked (after the lock window is visible) or |
203 // unlocked. | 206 // unlocked. |
204 void OnLockStateChanged(bool locked); | 207 void OnLockStateChanged(bool locked); |
205 | 208 |
206 // Called when a casting session is started or stopped. | 209 // Called when a casting session is started or stopped. |
207 void OnCastingSessionStartedOrStopped(bool started); | 210 void OnCastingSessionStartedOrStopped(bool started); |
208 | 211 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 std::unique_ptr<GPUSupport> gpu_support_; | 528 std::unique_ptr<GPUSupport> gpu_support_; |
526 | 529 |
527 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 530 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
528 | 531 |
529 DISALLOW_COPY_AND_ASSIGN(Shell); | 532 DISALLOW_COPY_AND_ASSIGN(Shell); |
530 }; | 533 }; |
531 | 534 |
532 } // namespace ash | 535 } // namespace ash |
533 | 536 |
534 #endif // ASH_SHELL_H_ | 537 #endif // ASH_SHELL_H_ |
OLD | NEW |