| 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 // Called when the application is exiting. | 277 // Called when the application is exiting. |
| 278 void OnAppTerminating(); | 278 void OnAppTerminating(); |
| 279 | 279 |
| 280 // Called when the screen is locked (after the lock window is visible) or | 280 // Called when the screen is locked (after the lock window is visible) or |
| 281 // unlocked. | 281 // unlocked. |
| 282 void OnLockStateChanged(bool locked); | 282 void OnLockStateChanged(bool locked); |
| 283 | 283 |
| 284 // Initializes |launcher_|. Does nothing if it's already initialized. | 284 // Initializes |launcher_|. Does nothing if it's already initialized. |
| 285 void CreateLauncher(); | 285 void CreateLauncher(); |
| 286 | 286 |
| 287 // Creates virtual keyboard. Deletes the old virtual keyboard if it's already |
| 288 // exist. |
| 289 void CreateKeyboard(); |
| 290 |
| 287 // Show shelf view if it was created hidden (before session has started). | 291 // Show shelf view if it was created hidden (before session has started). |
| 288 void ShowLauncher(); | 292 void ShowLauncher(); |
| 289 | 293 |
| 290 // Adds/removes observer. | 294 // Adds/removes observer. |
| 291 void AddShellObserver(ShellObserver* observer); | 295 void AddShellObserver(ShellObserver* observer); |
| 292 void RemoveShellObserver(ShellObserver* observer); | 296 void RemoveShellObserver(ShellObserver* observer); |
| 293 | 297 |
| 294 keyboard::KeyboardController* keyboard_controller() { | 298 keyboard::KeyboardController* keyboard_controller() { |
| 295 return keyboard_controller_.get(); | 299 return keyboard_controller_.get(); |
| 296 } | 300 } |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 bool simulate_modal_window_open_for_testing_; | 689 bool simulate_modal_window_open_for_testing_; |
| 686 | 690 |
| 687 bool is_touch_hud_projection_enabled_; | 691 bool is_touch_hud_projection_enabled_; |
| 688 | 692 |
| 689 DISALLOW_COPY_AND_ASSIGN(Shell); | 693 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 690 }; | 694 }; |
| 691 | 695 |
| 692 } // namespace ash | 696 } // namespace ash |
| 693 | 697 |
| 694 #endif // ASH_SHELL_H_ | 698 #endif // ASH_SHELL_H_ |
| OLD | NEW |