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

Unified Diff: ash/display/display_manager_unittest.cc

Issue 1150913002: Save and restore unified mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix leak Created 5 years, 7 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/display/display_manager.cc ('k') | ash/display/unified_mouse_warp_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager_unittest.cc
diff --git a/ash/display/display_manager_unittest.cc b/ash/display/display_manager_unittest.cc
index d9dda9e760a343652cdca99f1d93c633ceecd1a5..3e9809d166bd1c4d9eda0e4855d94319f9f2bc5b 100644
--- a/ash/display/display_manager_unittest.cc
+++ b/ash/display/display_manager_unittest.cc
@@ -1463,6 +1463,8 @@ TEST_F(DisplayManagerTest, MAYBE_UpdateDisplayWithHostOrigin) {
TEST_F(DisplayManagerTest, UnifiedDesktopBasic) {
if (!SupportsMultipleDisplays())
return;
+ test::DisplayManagerTestApi::EnableUnifiedDesktopForTest();
+
// Don't check root window destruction in unified mode.
Shell::GetPrimaryRootWindow()->RemoveObserver(this);
@@ -1500,6 +1502,8 @@ TEST_F(DisplayManagerTest, UnifiedDesktopBasic) {
TEST_F(DisplayManagerTest, RotateUnifiedDesktop) {
if (!SupportsMultipleDisplays())
return;
+ test::DisplayManagerTestApi::EnableUnifiedDesktopForTest();
+
// Don't check root window destruction in unified mode.
Shell::GetPrimaryRootWindow()->RemoveObserver(this);
@@ -1527,6 +1531,8 @@ TEST_F(DisplayManagerTest, RotateUnifiedDesktop) {
TEST_F(DisplayManagerTest, UnifiedWithDockWindows) {
if (!SupportsMultipleDisplays())
return;
+ test::DisplayManagerTestApi::EnableUnifiedDesktopForTest();
+
// Don't check root window destruction in unified mode.
Shell::GetPrimaryRootWindow()->RemoveObserver(this);
« no previous file with comments | « ash/display/display_manager.cc ('k') | ash/display/unified_mouse_warp_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698