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

Unified Diff: ash/test/display_manager_test_api.cc

Issue 1261693004: Allow dynamic enabling/disabling of unified desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: ash/test/display_manager_test_api.cc
diff --git a/ash/test/display_manager_test_api.cc b/ash/test/display_manager_test_api.cc
index 434c7a91117b58f4f2af2b8041bcaa9acac54ab9..73fb2d8d02a2e0deef03f969f36e0c69e20df37d 100644
--- a/ash/test/display_manager_test_api.cc
+++ b/ash/test/display_manager_test_api.cc
@@ -95,18 +95,6 @@ bool DisplayManagerTestApi::TestIfMouseWarpsAt(
}
}
-// static
-void DisplayManagerTestApi::EnableUnifiedDesktopForTest() {
-#if defined(OS_CHROMEOS)
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kAshEnableUnifiedDesktop);
- Shell::GetInstance()
- ->display_manager()
- ->layout_store()
- ->SetDefaultDisplayLayout(DisplayLayout());
-#endif
-}
-
DisplayManagerTestApi::DisplayManagerTestApi()
: display_manager_(Shell::GetInstance()->display_manager()) {}
« no previous file with comments | « ash/test/display_manager_test_api.h ('k') | chrome/browser/chromeos/display/display_preferences_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698