| 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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 // GetAppListTargetVisibility() when hiding animation is still in flight. | 552 // GetAppListTargetVisibility() when hiding animation is still in flight. |
| 553 bool IsAppListVisible() const; | 553 bool IsAppListVisible() const; |
| 554 | 554 |
| 555 // Returns app list target visibility. | 555 // Returns app list target visibility. |
| 556 bool GetAppListTargetVisibility() const; | 556 bool GetAppListTargetVisibility() const; |
| 557 | 557 |
| 558 // Called when the login status changes. | 558 // Called when the login status changes. |
| 559 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. | 559 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
| 560 void UpdateAfterLoginStatusChange(LoginStatus status); | 560 void UpdateAfterLoginStatusChange(LoginStatus status); |
| 561 | 561 |
| 562 // Notifies observers that the AppList has been shown or dismissed. |
| 563 void NotifyAppListShownOrDismissed(bool shown, aura::Window* root_window); |
| 564 |
| 562 // Notifies observers that maximize mode has started, windows might still | 565 // Notifies observers that maximize mode has started, windows might still |
| 563 // animate. | 566 // animate. |
| 564 void NotifyMaximizeModeStarted(); | 567 void NotifyMaximizeModeStarted(); |
| 565 | 568 |
| 566 // Notifies observers that maximize mode is about to end. | 569 // Notifies observers that maximize mode is about to end. |
| 567 void NotifyMaximizeModeEnding(); | 570 void NotifyMaximizeModeEnding(); |
| 568 | 571 |
| 569 // Notifies observers that maximize mode has ended, windows might still be | 572 // Notifies observers that maximize mode has ended, windows might still be |
| 570 // returning to their original position. | 573 // returning to their original position. |
| 571 void NotifyMaximizeModeEnded(); | 574 void NotifyMaximizeModeEnded(); |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 base::ObserverList<ShellObserver> shell_observers_; | 829 base::ObserverList<ShellObserver> shell_observers_; |
| 827 | 830 |
| 828 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 831 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 829 | 832 |
| 830 DISALLOW_COPY_AND_ASSIGN(Shell); | 833 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 831 }; | 834 }; |
| 832 | 835 |
| 833 } // namespace ash | 836 } // namespace ash |
| 834 | 837 |
| 835 #endif // ASH_SHELL_H_ | 838 #endif // ASH_SHELL_H_ |
| OLD | NEW |