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

Unified Diff: ash/common/wallpaper/wallpaper_controller_unittest.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/wallpaper/wallpaper_controller.cc ('k') | ash/common/wallpaper/wallpaper_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wallpaper/wallpaper_controller_unittest.cc
diff --git a/ash/common/wallpaper/wallpaper_controller_unittest.cc b/ash/common/wallpaper/wallpaper_controller_unittest.cc
index 72e5895c2bc413dd4591fceac500c6cb29601264..acbb0bf2fd08b9339f3c381fa1f8f95d7363d4ef 100644
--- a/ash/common/wallpaper/wallpaper_controller_unittest.cc
+++ b/ash/common/wallpaper/wallpaper_controller_unittest.cc
@@ -9,10 +9,10 @@
#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 "ash/test/ash_test_base.h"
#include "ash/test/test_wallpaper_delegate.h"
#include "base/message_loop/message_loop.h"
@@ -111,7 +111,7 @@ class WallpaperControllerTest : public test::AshTestBase {
test::AshTestBase::SetUp();
// Ash shell initialization creates wallpaper. Reset it so we can manually
// control wallpaper creation and animation in our tests.
- WmRootWindowController* root_window_controller =
+ RootWindowController* root_window_controller =
WmShell::Get()->GetPrimaryRootWindow()->GetRootWindowController();
root_window_controller->SetWallpaperWidgetController(nullptr);
root_window_controller->SetAnimatingWallpaperWidgetController(nullptr);
@@ -236,7 +236,7 @@ TEST_F(WallpaperControllerTest, ControllerOwnership) {
controller->CreateEmptyWallpaper();
// The new wallpaper is ready to animate.
- WmRootWindowController* root_window_controller =
+ RootWindowController* root_window_controller =
WmShell::Get()->GetPrimaryRootWindow()->GetRootWindowController();
EXPECT_TRUE(root_window_controller->animating_wallpaper_widget_controller()
->GetController(false));
@@ -272,7 +272,7 @@ TEST_F(WallpaperControllerTest, WallpaperMovementDuringUnlock) {
// In this state we have two wallpaper views stored in different properties.
// Both are in the lock screen wallpaper container.
- WmRootWindowController* root_window_controller =
+ RootWindowController* root_window_controller =
WmShell::Get()->GetPrimaryRootWindow()->GetRootWindowController();
EXPECT_TRUE(root_window_controller->animating_wallpaper_widget_controller()
->GetController(false));
@@ -313,7 +313,7 @@ TEST_F(WallpaperControllerTest, ChangeWallpaperQuick) {
// Change to a new wallpaper.
controller->CreateEmptyWallpaper();
- WmRootWindowController* root_window_controller =
+ RootWindowController* root_window_controller =
WmShell::Get()->GetPrimaryRootWindow()->GetRootWindowController();
WallpaperWidgetController* animating_controller =
root_window_controller->animating_wallpaper_widget_controller()
« no previous file with comments | « ash/common/wallpaper/wallpaper_controller.cc ('k') | ash/common/wallpaper/wallpaper_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698