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

Unified Diff: ash/test/ash_test_base.cc

Issue 2837773003: Flip the flag to enable smooth screen rotation by default. (Closed)
Patch Set: Add comments how the test will work. Created 3 years, 8 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/rotator/screen_rotation_animator_unittest.cc ('k') | ash/test/ash_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 47422979f86a57388e7b97501a83c064feb20319..83a8f43ac56cced704ae45c837d247d3cc29be7f 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -26,7 +26,6 @@
#include "ash/test/test_system_tray_delegate.h"
#include "ash/wm/window_positioner.h"
#include "ash/wm_window.h"
-#include "base/command_line.h"
#include "services/ui/public/interfaces/window_manager_constants.mojom.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/screen_position_client.h"
@@ -39,7 +38,6 @@
#include "ui/aura/window_tree_host.h"
#include "ui/base/ime/input_method_initializer.h"
#include "ui/display/display.h"
-#include "ui/display/display_switches.h"
#include "ui/display/screen.h"
#include "ui/display/test/display_manager_test_api.h"
#include "ui/display/types/display_constants.h"
@@ -121,15 +119,6 @@ void AshTestBase::SetUp() {
// default state.
shell::ToplevelWindow::ClearSavedStateForTest();
- // TODO(jamescook): Can we do this without changing command line?
- // Use the origin (1,1) so that it doesn't over
- // lap with the native mouse cursor.
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- if (!command_line->HasSwitch(::switches::kHostWindowBounds)) {
- command_line->AppendSwitchASCII(::switches::kHostWindowBounds,
- "1+1-800x600");
- }
-
ash_test_helper_->SetUp(start_session_);
Shell::GetPrimaryRootWindow()->Show();
« no previous file with comments | « ash/rotator/screen_rotation_animator_unittest.cc ('k') | ash/test/ash_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698