Index: ash/test/ash_test_base.cc |
=================================================================== |
--- ash/test/ash_test_base.cc (revision 235803) |
+++ ash/test/ash_test_base.cc (working copy) |
@@ -17,6 +17,7 @@ |
#include "ash/test/test_session_state_delegate.h" |
#include "ash/test/test_shell_delegate.h" |
#include "ash/wm/coordinate_conversion.h" |
+#include "ash/wm/window_positioner.h" |
#include "base/command_line.h" |
#include "content/public/test/web_contents_tester.h" |
#include "ui/aura/client/aura_constants.h" |
@@ -135,6 +136,7 @@ |
options.message_loop_type = base::MessageLoop::TYPE_IO; |
ipc_thread_->StartWithOptions(options); |
+ ash::WindowPositioner::SetMaximizeFirstWindow(true); |
metro_viewer_host_.reset( |
new TestMetroViewerProcessHost(ipc_thread_->message_loop_proxy())); |
CHECK(metro_viewer_host_->LaunchViewerAndWaitForConnection( |