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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 | 236 |
237 // Called when the wallpaper animation is finished. Updates | 237 // Called when the wallpaper animation is finished. Updates |
238 // |system_wallpaper_| to be black and drops |boot_splash_screen_| and moves | 238 // |system_wallpaper_| to be black and drops |boot_splash_screen_| and moves |
239 // the wallpaper controller into the root window controller. |widget| holds | 239 // the wallpaper controller into the root window controller. |widget| holds |
240 // the wallpaper image, or NULL if the wallpaper is a solid color. | 240 // the wallpaper image, or NULL if the wallpaper is a solid color. |
241 void OnWallpaperAnimationFinished(views::Widget* widget); | 241 void OnWallpaperAnimationFinished(views::Widget* widget); |
242 | 242 |
243 // Deletes associated objects and clears the state, but doesn't delete | 243 // Deletes associated objects and clears the state, but doesn't delete |
244 // the root window yet. This is used to delete a secondary displays' | 244 // the root window yet. This is used to delete a secondary displays' |
245 // root window safely when the display disconnect signal is received, | 245 // root window safely when the display disconnect signal is received, |
246 // which may come while we're in the nested message loop. | 246 // which may come while we're in the nested run loop. |
247 void Shutdown(); | 247 void Shutdown(); |
248 | 248 |
249 // Deletes all child windows and performs necessary cleanup. | 249 // Deletes all child windows and performs necessary cleanup. |
250 void CloseChildWindows(); | 250 void CloseChildWindows(); |
251 | 251 |
252 // Moves child windows to |dest|. | 252 // Moves child windows to |dest|. |
253 void MoveWindowsTo(aura::Window* dest); | 253 void MoveWindowsTo(aura::Window* dest); |
254 | 254 |
255 // Force the shelf to query for it's current visibility state. | 255 // Force the shelf to query for it's current visibility state. |
256 void UpdateShelfVisibility(); | 256 void UpdateShelfVisibility(); |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 | 376 |
377 // On classic ash, returns the RootWindowController for the given |root_window|. | 377 // On classic ash, returns the RootWindowController for the given |root_window|. |
378 // On mus ash, returns the RootWindowController for the primary display. | 378 // On mus ash, returns the RootWindowController for the primary display. |
379 // See RootWindowController class comment above. | 379 // See RootWindowController class comment above. |
380 ASH_EXPORT RootWindowController* GetRootWindowController( | 380 ASH_EXPORT RootWindowController* GetRootWindowController( |
381 const aura::Window* root_window); | 381 const aura::Window* root_window); |
382 | 382 |
383 } // namespace ash | 383 } // namespace ash |
384 | 384 |
385 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 385 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |