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

Unified Diff: ash/wm/dock/docked_window_resizer_unittest.cc

Issue 2617733002: Hide docked windows behind a flag (Closed)
Patch Set: Fix tests failed because of DCHECK Created 3 years, 11 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
Index: ash/wm/dock/docked_window_resizer_unittest.cc
diff --git a/ash/wm/dock/docked_window_resizer_unittest.cc b/ash/wm/dock/docked_window_resizer_unittest.cc
index 86e4a78182a111369ef2c855bf9e4382a1bf03ee..d764ea805f7783e0f4964ebe4de8079605fa7de8 100644
--- a/ash/wm/dock/docked_window_resizer_unittest.cc
+++ b/ash/wm/dock/docked_window_resizer_unittest.cc
@@ -5,6 +5,7 @@
#include "ash/common/wm/dock/docked_window_resizer.h"
#include "ash/aura/wm_window_aura.h"
+#include "ash/common/ash_switches.h"
#include "ash/common/shelf/shelf_widget.h"
#include "ash/common/shelf/wm_shelf.h"
#include "ash/common/test/test_shelf_delegate.h"
@@ -47,6 +48,8 @@ class DockedWindowResizerTest
virtual ~DockedWindowResizerTest() {}
void SetUp() override {
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ ash::switches::kAshEnableDockedWindows);
AshTestBase::SetUp();
UpdateDisplay("600x400");
}

Powered by Google App Engine
This is Rietveld 408576698