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

Unified Diff: ash/test/ash_test_base.cc

Issue 2314853003: Move ash::DisplayManager switches to ui::display (Closed)
Patch Set: rebased again Created 4 years, 3 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/system/overview/overview_button_tray_unittest.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 7cd66985d72183696bf2de369a73e53ac96b77ec..22d4ffda056127df4fa9f020c899d47c7b0c7d16 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -7,7 +7,6 @@
#include <string>
#include <vector>
-#include "ash/common/ash_switches.h"
#include "ash/common/wm/window_positioner.h"
#include "ash/common/wm_root_window_controller.h"
#include "ash/common/wm_shell.h"
@@ -33,6 +32,7 @@
#include "ui/aura/window_tree_host.h"
#include "ui/base/ime/input_method_initializer.h"
#include "ui/display/display.h"
+#include "ui/display/display_switches.h"
#include "ui/display/screen.h"
#include "ui/events/gesture_detection/gesture_configuration.h"
#include "ui/gfx/geometry/point.h"
@@ -124,8 +124,8 @@ void AshTestBase::SetUp() {
// Use the origin (1,1) so that it doesn't over
// lap with the native mouse cursor.
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- if (!command_line->HasSwitch(switches::kAshHostWindowBounds)) {
- command_line->AppendSwitchASCII(switches::kAshHostWindowBounds,
+ if (!command_line->HasSwitch(::switches::kHostWindowBounds)) {
+ command_line->AppendSwitchASCII(::switches::kHostWindowBounds,
"1+1-800x600");
}
#if defined(OS_WIN)
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698