| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 353 |
| 354 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 354 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| 355 CreateScopedDisableInternalMouseAndKeyboard() = 0; | 355 CreateScopedDisableInternalMouseAndKeyboard() = 0; |
| 356 | 356 |
| 357 virtual std::unique_ptr<ImmersiveFullscreenController> | 357 virtual std::unique_ptr<ImmersiveFullscreenController> |
| 358 CreateImmersiveFullscreenController() = 0; | 358 CreateImmersiveFullscreenController() = 0; |
| 359 | 359 |
| 360 virtual std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() = 0; | 360 virtual std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() = 0; |
| 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 // TODO(jamescook): Rename this. http://crbug.com/679925 | 363 // Called after the user session is active and profile is available. |
| 364 void CreateShelf(); | 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 has ended, windows might still be returning to | 371 // Called after maximize mode has ended, windows might still be returning to |
| 372 // their original position. | 372 // their original position. |
| 373 void OnMaximizeModeEnded(); | 373 void OnMaximizeModeEnded(); |
| 374 | 374 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 | 551 |
| 552 bool added_activation_observer_ = false; | 552 bool added_activation_observer_ = false; |
| 553 base::ObserverList<WmActivationObserver> activation_observers_; | 553 base::ObserverList<WmActivationObserver> activation_observers_; |
| 554 | 554 |
| 555 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 555 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 556 }; | 556 }; |
| 557 | 557 |
| 558 } // namespace ash | 558 } // namespace ash |
| 559 | 559 |
| 560 #endif // ASH_COMMON_WM_SHELL_H_ | 560 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |