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

Unified Diff: ash/common/wallpaper/wallpaper_controller.cc

Issue 2625843002: Folds WmRootWindowController into RootWindowController (Closed)
Patch Set: definition in wm_root_window_controller.cc 2 Created 3 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/test/ash_test.cc ('k') | ash/common/wallpaper/wallpaper_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wallpaper/wallpaper_controller.cc
diff --git a/ash/common/wallpaper/wallpaper_controller.cc b/ash/common/wallpaper/wallpaper_controller.cc
index 4da10342d69c198595fb521425428035d569dd92..8b9b4048aa690914092ed4f4f740dc6261273283 100644
--- a/ash/common/wallpaper/wallpaper_controller.cc
+++ b/ash/common/wallpaper/wallpaper_controller.cc
@@ -8,10 +8,10 @@
#include "ash/common/wallpaper/wallpaper_delegate.h"
#include "ash/common/wallpaper/wallpaper_view.h"
#include "ash/common/wallpaper/wallpaper_widget_controller.h"
-#include "ash/common/wm_root_window_controller.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
#include "ash/public/cpp/shell_window_ids.h"
+#include "ash/root_window_controller.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/task_runner.h"
@@ -220,7 +220,7 @@ void WallpaperController::InstallDesktopController(WmWindow* root_window) {
return;
}
- WmRootWindowController* controller = root_window->GetRootWindowController();
+ RootWindowController* controller = root_window->GetRootWindowController();
controller->SetAnimatingWallpaperWidgetController(
new AnimatingWallpaperWidgetController(component));
component->StartAnimating(controller);
@@ -235,7 +235,7 @@ void WallpaperController::InstallDesktopControllerForAllWindows() {
bool WallpaperController::ReparentWallpaper(int container) {
bool moved = false;
for (WmWindow* root_window : WmShell::Get()->GetAllRootWindows()) {
- WmRootWindowController* root_window_controller =
+ RootWindowController* root_window_controller =
root_window->GetRootWindowController();
// In the steady state (no animation playing) the wallpaper widget
// controller exists in the RootWindowController.
« no previous file with comments | « ash/common/test/ash_test.cc ('k') | ash/common/wallpaper/wallpaper_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698