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 // Show shelf view if it was created hidden (before session has started). |
| 327 void ShowShelf(); |
| 328 |
326 void CreateShelfDelegate(); | 329 void CreateShelfDelegate(); |
327 | 330 |
328 // Called after maximize mode has started, windows might still animate though. | 331 // Called after maximize mode has started, windows might still animate though. |
329 void OnMaximizeModeStarted(); | 332 void OnMaximizeModeStarted(); |
330 | 333 |
331 // Called after maximize mode has ended, windows might still be returning to | 334 // Called after maximize mode has ended, windows might still be returning to |
332 // their original position. | 335 // their original position. |
333 void OnMaximizeModeEnded(); | 336 void OnMaximizeModeEnded(); |
334 | 337 |
335 // Called when the overview mode is about to be started (before the windows | 338 // Called when the overview mode is about to be started (before the windows |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 488 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
486 | 489 |
487 #if defined(OS_CHROMEOS) | 490 #if defined(OS_CHROMEOS) |
488 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 491 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
489 #endif | 492 #endif |
490 }; | 493 }; |
491 | 494 |
492 } // namespace ash | 495 } // namespace ash |
493 | 496 |
494 #endif // ASH_COMMON_WM_SHELL_H_ | 497 #endif // ASH_COMMON_WM_SHELL_H_ |
OLD | NEW |