| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 WmWindow* workspace_window) = 0; | 316 WmWindow* workspace_window) = 0; |
| 317 | 317 |
| 318 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 318 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| 319 CreateScopedDisableInternalMouseAndKeyboard() = 0; | 319 CreateScopedDisableInternalMouseAndKeyboard() = 0; |
| 320 | 320 |
| 321 virtual std::unique_ptr<ImmersiveFullscreenController> | 321 virtual std::unique_ptr<ImmersiveFullscreenController> |
| 322 CreateImmersiveFullscreenController() = 0; | 322 CreateImmersiveFullscreenController() = 0; |
| 323 | 323 |
| 324 virtual std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() = 0; | 324 virtual std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() = 0; |
| 325 | 325 |
| 326 // Initializes the appropriate shelves. Does nothing for any existing shelves. |
| 327 void CreateShelf(); |
| 328 |
| 326 // Show shelf view if it was created hidden (before session has started). | 329 // Show shelf view if it was created hidden (before session has started). |
| 327 void ShowShelf(); | 330 void ShowShelf(); |
| 328 | 331 |
| 329 void CreateShelfDelegate(); | 332 void CreateShelfDelegate(); |
| 330 | 333 |
| 331 // Called after maximize mode has started, windows might still animate though. | 334 // Called after maximize mode has started, windows might still animate though. |
| 332 void OnMaximizeModeStarted(); | 335 void OnMaximizeModeStarted(); |
| 333 | 336 |
| 334 // Called after maximize mode has ended, windows might still be returning to | 337 // Called after maximize mode has ended, windows might still be returning to |
| 335 // their original position. | 338 // their original position. |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 491 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 489 | 492 |
| 490 #if defined(OS_CHROMEOS) | 493 #if defined(OS_CHROMEOS) |
| 491 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 494 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
| 492 #endif | 495 #endif |
| 493 }; | 496 }; |
| 494 | 497 |
| 495 } // namespace ash | 498 } // namespace ash |
| 496 | 499 |
| 497 #endif // ASH_COMMON_WM_SHELL_H_ | 500 #endif // ASH_COMMON_WM_SHELL_H_ |
| OLD | NEW |