Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(995)

Side by Side Diff: trunk/src/ash/desktop_background/desktop_background_controller.h

Issue 59153004: Revert 233787 "Eliminate Shell::RootWindowList in favor of aura:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ 5 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_
6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/display/display_controller.h" 9 #include "ash/display/display_controller.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // Creates view for all root windows, or notifies them to repaint if they 153 // Creates view for all root windows, or notifies them to repaint if they
154 // already exist. 154 // already exist.
155 void SetDesktopBackgroundImageMode(); 155 void SetDesktopBackgroundImageMode();
156 156
157 // Creates a new background widget and sets the background mode to image mode. 157 // Creates a new background widget and sets the background mode to image mode.
158 // Called after a default wallpaper has been loaded successfully. 158 // Called after a default wallpaper has been loaded successfully.
159 void OnDefaultWallpaperLoadCompleted(scoped_refptr<WallpaperLoader> loader); 159 void OnDefaultWallpaperLoadCompleted(scoped_refptr<WallpaperLoader> loader);
160 160
161 // Creates and adds component for current mode (either Widget or Layer) to 161 // Creates and adds component for current mode (either Widget or Layer) to
162 // |root_window|. 162 // |root_window|.
163 void InstallDesktopController(aura::Window* root_window); 163 void InstallDesktopController(aura::RootWindow* root_window);
164 164
165 // Creates and adds component for current mode (either Widget or Layer) to 165 // Creates and adds component for current mode (either Widget or Layer) to
166 // all root windows. 166 // all root windows.
167 void InstallDesktopControllerForAllWindows(); 167 void InstallDesktopControllerForAllWindows();
168 168
169 // Moves all desktop components from one container to other across all root 169 // Moves all desktop components from one container to other across all root
170 // windows. Returns true if a desktop moved. 170 // windows. Returns true if a desktop moved.
171 bool ReparentBackgroundWidgets(int src_container, int dst_container); 171 bool ReparentBackgroundWidgets(int src_container, int dst_container);
172 172
173 // Returns id for background container for unlocked and locked states. 173 // Returns id for background container for unlocked and locked states.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 base::OneShotTimer<DesktopBackgroundController> timer_; 219 base::OneShotTimer<DesktopBackgroundController> timer_;
220 220
221 int wallpaper_reload_delay_; 221 int wallpaper_reload_delay_;
222 222
223 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundController); 223 DISALLOW_COPY_AND_ASSIGN(DesktopBackgroundController);
224 }; 224 };
225 225
226 } // namespace ash 226 } // namespace ash
227 227
228 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_ 228 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_H_
OLDNEW
« no previous file with comments | « trunk/src/ash/debug.cc ('k') | trunk/src/ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698