| 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_ROOT_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ |
| 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ | 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 // The initial color is determined by the |root_window_type| and whether or | 312 // The initial color is determined by the |root_window_type| and whether or |
| 313 // not this is the first boot. | 313 // not this is the first boot. |
| 314 void CreateSystemWallpaper(RootWindowType root_window_type); | 314 void CreateSystemWallpaper(RootWindowType root_window_type); |
| 315 | 315 |
| 316 // Enables projection touch HUD. | 316 // Enables projection touch HUD. |
| 317 void EnableTouchHudProjection(); | 317 void EnableTouchHudProjection(); |
| 318 | 318 |
| 319 // Disables projection touch HUD. | 319 // Disables projection touch HUD. |
| 320 void DisableTouchHudProjection(); | 320 void DisableTouchHudProjection(); |
| 321 | 321 |
| 322 // Resets WmShell::GetRootWindowForNewWindows() if appropriate. This is called | 322 // Resets Shell::GetRootWindowForNewWindows() if appropriate. This is called |
| 323 // during shutdown to make sure GetRootWindowForNewWindows() isn't referencing | 323 // during shutdown to make sure GetRootWindowForNewWindows() isn't referencing |
| 324 // this. | 324 // this. |
| 325 void ResetRootForNewWindowsIfNecessary(); | 325 void ResetRootForNewWindowsIfNecessary(); |
| 326 | 326 |
| 327 // Callback for MenuModelAdapter. | 327 // Callback for MenuModelAdapter. |
| 328 void OnMenuClosed(); | 328 void OnMenuClosed(); |
| 329 | 329 |
| 330 // Overridden from ShellObserver. | 330 // Overridden from ShellObserver. |
| 331 void OnLoginStateChanged(LoginStatus status) override; | 331 void OnLoginStateChanged(LoginStatus status) override; |
| 332 void OnTouchHudProjectionToggled(bool enabled) override; | 332 void OnTouchHudProjectionToggled(bool enabled) override; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 | 384 |
| 385 // On classic ash, returns the RootWindowController for the given |root_window|. | 385 // On classic ash, returns the RootWindowController for the given |root_window|. |
| 386 // On mus ash, returns the RootWindowController for the primary display. | 386 // On mus ash, returns the RootWindowController for the primary display. |
| 387 // See RootWindowController class comment above. | 387 // See RootWindowController class comment above. |
| 388 ASH_EXPORT RootWindowController* GetRootWindowController( | 388 ASH_EXPORT RootWindowController* GetRootWindowController( |
| 389 const aura::Window* root_window); | 389 const aura::Window* root_window); |
| 390 | 390 |
| 391 } // namespace ash | 391 } // namespace ash |
| 392 | 392 |
| 393 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 393 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |