| 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 | |
| 202 // Called when the application is exiting. | 199 // Called when the application is exiting. |
| 203 void OnAppTerminating(); | 200 void OnAppTerminating(); |
| 204 | 201 |
| 205 // Called when the screen is locked (after the lock window is visible) or | 202 // Called when the screen is locked (after the lock window is visible) or |
| 206 // unlocked. | 203 // unlocked. |
| 207 void OnLockStateChanged(bool locked); | 204 void OnLockStateChanged(bool locked); |
| 208 | 205 |
| 209 // Called when a casting session is started or stopped. | 206 // Called when a casting session is started or stopped. |
| 210 void OnCastingSessionStartedOrStopped(bool started); | 207 void OnCastingSessionStartedOrStopped(bool started); |
| 211 | 208 |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 std::unique_ptr<GPUSupport> gpu_support_; | 525 std::unique_ptr<GPUSupport> gpu_support_; |
| 529 | 526 |
| 530 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 527 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
| 531 | 528 |
| 532 DISALLOW_COPY_AND_ASSIGN(Shell); | 529 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 533 }; | 530 }; |
| 534 | 531 |
| 535 } // namespace ash | 532 } // namespace ash |
| 536 | 533 |
| 537 #endif // ASH_SHELL_H_ | 534 #endif // ASH_SHELL_H_ |
| OLD | NEW |