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

Unified Diff: ash/test/ash_test_base.cc

Issue 62333015: Ensure that the first browser window which is created in Windows 8 ASH is maximized. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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 | « no previous file | ash/wm/window_positioner.h » ('j') | ash/wm/window_positioner.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « no previous file | ash/wm/window_positioner.h » ('j') | ash/wm/window_positioner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698