| 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 <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. | 277 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
| 278 void UpdateAfterLoginStatusChange(user::LoginStatus status); | 278 void UpdateAfterLoginStatusChange(user::LoginStatus status); |
| 279 | 279 |
| 280 // Called when the application is exiting. | 280 // Called when the application is exiting. |
| 281 void OnAppTerminating(); | 281 void OnAppTerminating(); |
| 282 | 282 |
| 283 // Called when the screen is locked (after the lock window is visible) or | 283 // Called when the screen is locked (after the lock window is visible) or |
| 284 // unlocked. | 284 // unlocked. |
| 285 void OnLockStateChanged(bool locked); | 285 void OnLockStateChanged(bool locked); |
| 286 | 286 |
| 287 // Called when a screen sharing session is started or stopped. |
| 288 void OnScreenSharingStateChanged(bool started); |
| 289 |
| 287 // Initializes |shelf_|. Does nothing if it's already initialized. | 290 // Initializes |shelf_|. Does nothing if it's already initialized. |
| 288 void CreateShelf(); | 291 void CreateShelf(); |
| 289 | 292 |
| 290 // Creates virtual keyboard. Deletes the old virtual keyboard if it's already | 293 // Creates virtual keyboard. Deletes the old virtual keyboard if it's already |
| 291 // exist. | 294 // exist. |
| 292 void CreateKeyboard(); | 295 void CreateKeyboard(); |
| 293 | 296 |
| 294 // Show shelf view if it was created hidden (before session has started). | 297 // Show shelf view if it was created hidden (before session has started). |
| 295 void ShowShelf(); | 298 void ShowShelf(); |
| 296 | 299 |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 bool simulate_modal_window_open_for_testing_; | 705 bool simulate_modal_window_open_for_testing_; |
| 703 | 706 |
| 704 bool is_touch_hud_projection_enabled_; | 707 bool is_touch_hud_projection_enabled_; |
| 705 | 708 |
| 706 DISALLOW_COPY_AND_ASSIGN(Shell); | 709 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 707 }; | 710 }; |
| 708 | 711 |
| 709 } // namespace ash | 712 } // namespace ash |
| 710 | 713 |
| 711 #endif // ASH_SHELL_H_ | 714 #endif // ASH_SHELL_H_ |
| OLD | NEW |