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

Unified Diff: ash/magnifier/magnification_controller_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/unified_mouse_warp_controller_unittest.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/magnifier/magnification_controller_unittest.cc
diff --git a/ash/magnifier/magnification_controller_unittest.cc b/ash/magnifier/magnification_controller_unittest.cc
index 596884d2254a754791d698e1c97b912c20d15249..b9b2f73d68936b12092b98a96f215963eaf7ab97 100644
--- a/ash/magnifier/magnification_controller_unittest.cc
+++ b/ash/magnifier/magnification_controller_unittest.cc
@@ -7,6 +7,7 @@
#include "ash/display/display_manager.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
+#include "ash/test/display_manager_test_api.h"
#include "base/strings/stringprintf.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/env.h"
@@ -587,6 +588,7 @@ TEST_F(MagnificationControllerTest, FollowTextInputFieldKeyPress) {
TEST_F(MagnificationControllerTest, EnableMagnifierInUnifiedDesktop) {
if (!SupportsMultipleDisplays())
return;
+ test::DisplayManagerTestApi::EnableUnifiedDesktopForTest();
DisplayManager* display_manager = Shell::GetInstance()->display_manager();
display_manager->SetDefaultMultiDisplayMode(DisplayManager::UNIFIED);
« no previous file with comments | « ash/display/unified_mouse_warp_controller_unittest.cc ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698