| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // Called when the application is exiting. | 273 // Called when the application is exiting. |
| 274 void OnAppTerminating(); | 274 void OnAppTerminating(); |
| 275 | 275 |
| 276 // Called when the screen is locked (after the lock window is visible) or | 276 // Called when the screen is locked (after the lock window is visible) or |
| 277 // unlocked. | 277 // unlocked. |
| 278 void OnLockStateChanged(bool locked); | 278 void OnLockStateChanged(bool locked); |
| 279 | 279 |
| 280 // Called when a casting session is started or stopped. | 280 // Called when a casting session is started or stopped. |
| 281 void OnCastingSessionStartedOrStopped(bool started); | 281 void OnCastingSessionStartedOrStopped(bool started); |
| 282 | 282 |
| 283 // Called after maximize mode has started, windows might still animate though. | |
| 284 void OnMaximizeModeStarted(); | |
| 285 | |
| 286 // Called after maximize mode has ended, windows might still be returning to | |
| 287 // their original position. | |
| 288 void OnMaximizeModeEnded(); | |
| 289 | |
| 290 // Called when a root window is created. | 283 // Called when a root window is created. |
| 291 void OnRootWindowAdded(WmWindow* root_window); | 284 void OnRootWindowAdded(WmWindow* root_window); |
| 292 | 285 |
| 293 // Initializes |shelf_|. Does nothing if it's already initialized. | 286 // Initializes |shelf_|. Does nothing if it's already initialized. |
| 294 void CreateShelf(); | 287 void CreateShelf(); |
| 295 | 288 |
| 296 // Called when the shelf is created for |root_window|. | 289 // Called when the shelf is created for |root_window|. |
| 297 void OnShelfCreatedForRootWindow(WmWindow* root_window); | 290 void OnShelfCreatedForRootWindow(WmWindow* root_window); |
| 298 | 291 |
| 299 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already | 292 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 base::SequencedWorkerPool* blocking_pool_; | 715 base::SequencedWorkerPool* blocking_pool_; |
| 723 | 716 |
| 724 bool in_mus_ = false; | 717 bool in_mus_ = false; |
| 725 | 718 |
| 726 DISALLOW_COPY_AND_ASSIGN(Shell); | 719 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 727 }; | 720 }; |
| 728 | 721 |
| 729 } // namespace ash | 722 } // namespace ash |
| 730 | 723 |
| 731 #endif // ASH_SHELL_H_ | 724 #endif // ASH_SHELL_H_ |
| OLD | NEW |