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

Unified Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: fix windows build Created 4 years, 2 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
Index: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc
diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc
index ca596bb00133cddf9a0ed02f1462dd9fa58fa78b..82796703c50608e409607325a828047815ba93ed 100644
--- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc
+++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc
@@ -8,11 +8,9 @@
#include "ash/common/wallpaper/wallpaper_controller.h"
#include "ash/common/wm_shell.h"
-#include "ash/display/display_manager.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/ash_test_helper.h"
-#include "ash/test/display_manager_test_api.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
@@ -36,6 +34,8 @@
#include "components/wallpaper/wallpaper_files_id.h"
#include "content/public/test/test_utils.h"
#include "ui/aura/env.h"
+#include "ui/display/manager/display_manager.h"
+#include "ui/display/test/display_manager_test_api.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/image/image_skia.h"
@@ -85,9 +85,9 @@ class WallpaperManagerBrowserTest : public InProcessBrowserTest {
void TearDownOnMainThread() override { controller_ = NULL; }
// Update the display configuration as given in |display_specs|. See
- // ash::test::DisplayManagerTestApi::UpdateDisplay for more details.
+ // display::test::DisplayManagerTestApi::UpdateDisplay for more details.
void UpdateDisplay(const std::string& display_specs) {
- ash::test::DisplayManagerTestApi(
+ display::test::DisplayManagerTestApi(
ash::Shell::GetInstance()->display_manager())
.UpdateDisplay(display_specs);
}

Powered by Google App Engine
This is Rietveld 408576698