| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 class GPUSupport; | 109 class GPUSupport; |
| 110 class HighContrastController; | 110 class HighContrastController; |
| 111 class ImmersiveContextAsh; | 111 class ImmersiveContextAsh; |
| 112 class ImmersiveHandlerFactoryAsh; | 112 class ImmersiveHandlerFactoryAsh; |
| 113 class KeyboardBrightnessControlDelegate; | 113 class KeyboardBrightnessControlDelegate; |
| 114 class KeyboardUI; | 114 class KeyboardUI; |
| 115 class LaserPointerController; | 115 class LaserPointerController; |
| 116 class LinkHandlerModelFactory; | 116 class LinkHandlerModelFactory; |
| 117 class LocaleNotificationController; | 117 class LocaleNotificationController; |
| 118 class LockStateController; | 118 class LockStateController; |
| 119 enum class LoginStatus; | |
| 120 class LogoutConfirmationController; | 119 class LogoutConfirmationController; |
| 121 class MagnificationController; | 120 class MagnificationController; |
| 122 class MaximizeModeController; | 121 class MaximizeModeController; |
| 123 class MediaController; | 122 class MediaController; |
| 124 class MouseCursorEventFilter; | 123 class MouseCursorEventFilter; |
| 125 class MruWindowTracker; | 124 class MruWindowTracker; |
| 126 class NewWindowController; | 125 class NewWindowController; |
| 127 class OverlayEventFilter; | 126 class OverlayEventFilter; |
| 128 class PaletteDelegate; | 127 class PaletteDelegate; |
| 129 class PartialMagnificationController; | 128 class PartialMagnificationController; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 class WallpaperController; | 167 class WallpaperController; |
| 169 class WallpaperDelegate; | 168 class WallpaperDelegate; |
| 170 class WebNotificationTray; | 169 class WebNotificationTray; |
| 171 class WindowCycleController; | 170 class WindowCycleController; |
| 172 class WindowPositioner; | 171 class WindowPositioner; |
| 173 class WindowSelectorController; | 172 class WindowSelectorController; |
| 174 class WindowTreeHostManager; | 173 class WindowTreeHostManager; |
| 175 class WmShell; | 174 class WmShell; |
| 176 class WmWindow; | 175 class WmWindow; |
| 177 | 176 |
| 177 enum class Config; |
| 178 enum class LoginStatus; |
| 179 |
| 178 namespace shell { | 180 namespace shell { |
| 179 class WindowWatcher; | 181 class WindowWatcher; |
| 180 } | 182 } |
| 181 | 183 |
| 182 namespace test { | 184 namespace test { |
| 183 class ShellTestApi; | 185 class ShellTestApi; |
| 184 class SmsObserverTest; | 186 class SmsObserverTest; |
| 185 } | 187 } |
| 186 | 188 |
| 187 // Shell is a singleton object that presents the Shell API and implements the | 189 // Shell is a singleton object that presents the Shell API and implements the |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 return window_tree_client_; | 256 return window_tree_client_; |
| 255 } | 257 } |
| 256 | 258 |
| 257 static void set_window_manager_client(aura::WindowManagerClient* client) { | 259 static void set_window_manager_client(aura::WindowManagerClient* client) { |
| 258 window_manager_client_ = client; | 260 window_manager_client_ = client; |
| 259 } | 261 } |
| 260 static aura::WindowManagerClient* window_manager_client() { | 262 static aura::WindowManagerClient* window_manager_client() { |
| 261 return window_manager_client_; | 263 return window_manager_client_; |
| 262 } | 264 } |
| 263 | 265 |
| 266 static Config GetConfig(); |
| 267 |
| 264 // Creates a default views::NonClientFrameView for use by windows in the | 268 // Creates a default views::NonClientFrameView for use by windows in the |
| 265 // Ash environment. | 269 // Ash environment. |
| 266 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 270 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 267 views::Widget* widget); | 271 views::Widget* widget); |
| 268 | 272 |
| 269 // Sets work area insets of the display containing |window|, pings observers. | 273 // Sets work area insets of the display containing |window|, pings observers. |
| 270 void SetDisplayWorkAreaInsets(aura::Window* window, | 274 void SetDisplayWorkAreaInsets(aura::Window* window, |
| 271 const gfx::Insets& insets); | 275 const gfx::Insets& insets); |
| 272 | 276 |
| 273 // Called when the user logs in. | 277 // Called when the user logs in. |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 base::ObserverList<ShellObserver> shell_observers_; | 815 base::ObserverList<ShellObserver> shell_observers_; |
| 812 | 816 |
| 813 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 817 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 814 | 818 |
| 815 DISALLOW_COPY_AND_ASSIGN(Shell); | 819 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 816 }; | 820 }; |
| 817 | 821 |
| 818 } // namespace ash | 822 } // namespace ash |
| 819 | 823 |
| 820 #endif // ASH_SHELL_H_ | 824 #endif // ASH_SHELL_H_ |
| OLD | NEW |