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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 void NotifyOverviewModeEnded(); | 571 void NotifyOverviewModeEnded(); |
572 | 572 |
573 // Notifies observers that fullscreen mode has changed for |root_window|. | 573 // Notifies observers that fullscreen mode has changed for |root_window|. |
574 void NotifyFullscreenStateChanged(bool is_fullscreen, WmWindow* root_window); | 574 void NotifyFullscreenStateChanged(bool is_fullscreen, WmWindow* root_window); |
575 | 575 |
576 // Notifies observers that |pinned_window| changed its pinned window state. | 576 // Notifies observers that |pinned_window| changed its pinned window state. |
577 void NotifyPinnedStateChanged(WmWindow* pinned_window); | 577 void NotifyPinnedStateChanged(WmWindow* pinned_window); |
578 | 578 |
579 // Notifies observers that the virtual keyboard has been | 579 // Notifies observers that the virtual keyboard has been |
580 // activated/deactivated for |root_window|. | 580 // activated/deactivated for |root_window|. |
581 void NotifyVirtualKeyboardActivated(bool activated, WmWindow* root_window); | 581 void NotifyVirtualKeyboardActivated(bool activated, |
| 582 aura::Window* root_window); |
582 | 583 |
583 // Notifies observers that the shelf was created for |root_window|. | 584 // Notifies observers that the shelf was created for |root_window|. |
584 // TODO(jamescook): Move to Shelf. | 585 // TODO(jamescook): Move to Shelf. |
585 void NotifyShelfCreatedForRootWindow(WmWindow* root_window); | 586 void NotifyShelfCreatedForRootWindow(WmWindow* root_window); |
586 | 587 |
587 // Notifies observers that |root_window|'s shelf changed alignment. | 588 // Notifies observers that |root_window|'s shelf changed alignment. |
588 // TODO(jamescook): Move to Shelf. | 589 // TODO(jamescook): Move to Shelf. |
589 void NotifyShelfAlignmentChanged(WmWindow* root_window); | 590 void NotifyShelfAlignmentChanged(WmWindow* root_window); |
590 | 591 |
591 // Notifies observers that |root_window|'s shelf changed auto-hide behavior. | 592 // Notifies observers that |root_window|'s shelf changed auto-hide behavior. |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 base::ObserverList<ShellObserver> shell_observers_; | 811 base::ObserverList<ShellObserver> shell_observers_; |
811 | 812 |
812 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 813 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
813 | 814 |
814 DISALLOW_COPY_AND_ASSIGN(Shell); | 815 DISALLOW_COPY_AND_ASSIGN(Shell); |
815 }; | 816 }; |
816 | 817 |
817 } // namespace ash | 818 } // namespace ash |
818 | 819 |
819 #endif // ASH_SHELL_H_ | 820 #endif // ASH_SHELL_H_ |
OLD | NEW |