| 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 // TODO(jamescook): Move to Shelf. | 604 // TODO(jamescook): Move to Shelf. |
| 605 void NotifyShelfAlignmentChanged(aura::Window* root_window); | 605 void NotifyShelfAlignmentChanged(aura::Window* root_window); |
| 606 | 606 |
| 607 // Notifies observers that |root_window|'s shelf changed auto-hide behavior. | 607 // Notifies observers that |root_window|'s shelf changed auto-hide behavior. |
| 608 // TODO(jamescook): Move to Shelf. | 608 // TODO(jamescook): Move to Shelf. |
| 609 void NotifyShelfAutoHideBehaviorChanged(aura::Window* root_window); | 609 void NotifyShelfAutoHideBehaviorChanged(aura::Window* root_window); |
| 610 | 610 |
| 611 // Used to provide better error messages for Shell::Get() under mash. | 611 // Used to provide better error messages for Shell::Get() under mash. |
| 612 static void SetIsBrowserProcessWithMash(); | 612 static void SetIsBrowserProcessWithMash(); |
| 613 | 613 |
| 614 void OnAppListVisibilityChanged(bool visible, aura::Window* root_window); |
| 615 |
| 614 private: | 616 private: |
| 615 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); | 617 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); |
| 616 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); | 618 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); |
| 617 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); | 619 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); |
| 618 friend class AcceleratorControllerTest; | 620 friend class AcceleratorControllerTest; |
| 619 friend class RootWindowController; | 621 friend class RootWindowController; |
| 620 friend class ScopedRootWindowForNewWindows; | 622 friend class ScopedRootWindowForNewWindows; |
| 621 friend class SmsObserverTest; | 623 friend class SmsObserverTest; |
| 622 friend class test::ShellTestApi; | 624 friend class test::ShellTestApi; |
| 623 friend class shell::WindowWatcher; | 625 friend class shell::WindowWatcher; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 835 base::ObserverList<ShellObserver> shell_observers_; | 837 base::ObserverList<ShellObserver> shell_observers_; |
| 836 | 838 |
| 837 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 839 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 838 | 840 |
| 839 DISALLOW_COPY_AND_ASSIGN(Shell); | 841 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 840 }; | 842 }; |
| 841 | 843 |
| 842 } // namespace ash | 844 } // namespace ash |
| 843 | 845 |
| 844 #endif // ASH_SHELL_H_ | 846 #endif // ASH_SHELL_H_ |
| OLD | NEW |