| 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 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 // Deletes associated objects and clears the state, but doesn't delete | 195 // Deletes associated objects and clears the state, but doesn't delete |
| 196 // the root window yet. This is used to delete a secondary displays' | 196 // the root window yet. This is used to delete a secondary displays' |
| 197 // root window safely when the display disconnect signal is received, | 197 // root window safely when the display disconnect signal is received, |
| 198 // which may come while we're in the nested message loop. | 198 // which may come while we're in the nested message loop. |
| 199 void Shutdown(); | 199 void Shutdown(); |
| 200 | 200 |
| 201 // Deletes all child windows and performs necessary cleanup. | 201 // Deletes all child windows and performs necessary cleanup. |
| 202 void CloseChildWindows(); | 202 void CloseChildWindows(); |
| 203 | 203 |
| 204 // Moves child windows to |dest|. | 204 // Moves child windows to |dest|. |
| 205 void MoveWindowsTo(aura::RootWindow* dest); | 205 void MoveWindowsTo(aura::Window* dest); |
| 206 | 206 |
| 207 // Force the shelf to query for it's current visibility state. | 207 // Force the shelf to query for it's current visibility state. |
| 208 void UpdateShelfVisibility(); | 208 void UpdateShelfVisibility(); |
| 209 | 209 |
| 210 // Initialize touch HUDs if necessary. | 210 // Initialize touch HUDs if necessary. |
| 211 void InitTouchHuds(); | 211 void InitTouchHuds(); |
| 212 | 212 |
| 213 // Returns the window, if any, which is in fullscreen mode. If multiple | 213 // Returns the window, if any, which is in fullscreen mode. If multiple |
| 214 // windows are in fullscreen state, the topmost one is preferred. | 214 // windows are in fullscreen state, the topmost one is preferred. |
| 215 const aura::Window* GetTopmostFullscreenWindow() const; | 215 const aura::Window* GetTopmostFullscreenWindow() const; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 scoped_ptr<DesktopBackgroundWidgetController> wallpaper_controller_; | 294 scoped_ptr<DesktopBackgroundWidgetController> wallpaper_controller_; |
| 295 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; | 295 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; |
| 296 scoped_ptr<views::corewm::ScopedCaptureClient> capture_client_; | 296 scoped_ptr<views::corewm::ScopedCaptureClient> capture_client_; |
| 297 | 297 |
| 298 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 298 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 299 }; | 299 }; |
| 300 | 300 |
| 301 | 301 |
| 302 // Gets the RootWindowController for |root_window|. | 302 // Gets the RootWindowController for |root_window|. |
| 303 ASH_EXPORT RootWindowController* GetRootWindowController( | 303 ASH_EXPORT RootWindowController* GetRootWindowController( |
| 304 const aura::RootWindow* root_window); | 304 const aura::Window* root_window); |
| 305 | 305 |
| 306 } // namespace internal | 306 } // namespace internal |
| 307 } // ash | 307 } // ash |
| 308 | 308 |
| 309 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 309 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |