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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 void RotateFocus(Direction direction); | 280 void RotateFocus(Direction direction); |
281 | 281 |
282 // Sets the work area insets of the display that contains |window|, | 282 // Sets the work area insets of the display that contains |window|, |
283 // this notifies observers too. | 283 // this notifies observers too. |
284 // TODO(sky): this no longer really replicates what happens and is unreliable. | 284 // TODO(sky): this no longer really replicates what happens and is unreliable. |
285 // Remove this. | 285 // Remove this. |
286 void SetDisplayWorkAreaInsets(aura::Window* window, | 286 void SetDisplayWorkAreaInsets(aura::Window* window, |
287 const gfx::Insets& insets); | 287 const gfx::Insets& insets); |
288 | 288 |
289 // Called when the user logs in. | 289 // Called when the user logs in. |
290 void OnLoginStateChanged(user::LoginStatus status); | 290 void OnLoginStateChanged(LoginStatus status); |
291 | 291 |
292 // Called after the logged-in user's profile is ready. | 292 // Called after the logged-in user's profile is ready. |
293 void OnLoginUserProfilePrepared(); | 293 void OnLoginUserProfilePrepared(); |
294 | 294 |
295 // Called when the login status changes. | 295 // Called when the login status changes. |
296 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. | 296 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
297 void UpdateAfterLoginStatusChange(user::LoginStatus status); | 297 void UpdateAfterLoginStatusChange(LoginStatus status); |
298 | 298 |
299 // Called when the application is exiting. | 299 // Called when the application is exiting. |
300 void OnAppTerminating(); | 300 void OnAppTerminating(); |
301 | 301 |
302 // Called when the screen is locked (after the lock window is visible) or | 302 // Called when the screen is locked (after the lock window is visible) or |
303 // unlocked. | 303 // unlocked. |
304 void OnLockStateChanged(bool locked); | 304 void OnLockStateChanged(bool locked); |
305 | 305 |
306 // Called when a casting session is started or stopped. | 306 // Called when a casting session is started or stopped. |
307 void OnCastingSessionStartedOrStopped(bool started); | 307 void OnCastingSessionStartedOrStopped(bool started); |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 bool in_mus_ = false; | 805 bool in_mus_ = false; |
806 | 806 |
807 std::unique_ptr<KeyboardUI> keyboard_ui_; | 807 std::unique_ptr<KeyboardUI> keyboard_ui_; |
808 | 808 |
809 DISALLOW_COPY_AND_ASSIGN(Shell); | 809 DISALLOW_COPY_AND_ASSIGN(Shell); |
810 }; | 810 }; |
811 | 811 |
812 } // namespace ash | 812 } // namespace ash |
813 | 813 |
814 #endif // ASH_SHELL_H_ | 814 #endif // ASH_SHELL_H_ |
OLD | NEW |