| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_COMMON_WM_SHELL_H_ | 5 #ifndef ASH_COMMON_WM_SHELL_H_ |
| 6 #define ASH_COMMON_WM_SHELL_H_ | 6 #define ASH_COMMON_WM_SHELL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 361 |
| 362 // Creates the ShelfView for each display and populates it with items. | 362 // Creates the ShelfView for each display and populates it with items. |
| 363 // Called after the user session is active and profile is available. | 363 // Called after the user session is active and profile is available. |
| 364 void CreateShelfView(); | 364 void CreateShelfView(); |
| 365 | 365 |
| 366 void CreateShelfDelegate(); | 366 void CreateShelfDelegate(); |
| 367 | 367 |
| 368 // Called after maximize mode has started, windows might still animate though. | 368 // Called after maximize mode has started, windows might still animate though. |
| 369 void OnMaximizeModeStarted(); | 369 void OnMaximizeModeStarted(); |
| 370 | 370 |
| 371 // Called after maximize mode is about to end. |
| 372 void OnMaximizeModeEnding(); |
| 373 |
| 371 // Called after maximize mode has ended, windows might still be returning to | 374 // Called after maximize mode has ended, windows might still be returning to |
| 372 // their original position. | 375 // their original position. |
| 373 void OnMaximizeModeEnded(); | 376 void OnMaximizeModeEnded(); |
| 374 | 377 |
| 375 // Called when the overview mode is about to be started (before the windows | 378 // Called when the overview mode is about to be started (before the windows |
| 376 // get re-arranged). | 379 // get re-arranged). |
| 377 virtual void OnOverviewModeStarting() = 0; | 380 virtual void OnOverviewModeStarting() = 0; |
| 378 | 381 |
| 379 // Called after overview mode has ended. | 382 // Called after overview mode has ended. |
| 380 virtual void OnOverviewModeEnded() = 0; | 383 virtual void OnOverviewModeEnded() = 0; |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 | 551 |
| 549 bool added_activation_observer_ = false; | 552 bool added_activation_observer_ = false; |
| 550 base::ObserverList<WmActivationObserver> activation_observers_; | 553 base::ObserverList<WmActivationObserver> activation_observers_; |
| 551 | 554 |
| 552 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 555 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 553 }; | 556 }; |
| 554 | 557 |
| 555 } // namespace ash | 558 } // namespace ash |
| 556 | 559 |
| 557 #endif // ASH_COMMON_WM_SHELL_H_ | 560 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |