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

Unified Diff: ash/wm/workspace/workspace_layout_manager_unittest.cc

Issue 2241273004: Move kUseNewVKWindowBehavior switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/workspace/workspace_layout_manager_unittest.cc
diff --git a/ash/wm/workspace/workspace_layout_manager_unittest.cc b/ash/wm/workspace/workspace_layout_manager_unittest.cc
index 718f6f2ad3acc46e028a3b05c4eef13c9e38cfca..98e3c148baac1577ca3eb55c61bc1bdf0ed98701 100644
--- a/ash/wm/workspace/workspace_layout_manager_unittest.cc
+++ b/ash/wm/workspace/workspace_layout_manager_unittest.cc
@@ -8,7 +8,6 @@
#include <utility>
#include "ash/aura/wm_window_aura.h"
-#include "ash/common/ash_switches.h"
#include "ash/common/session/session_state_delegate.h"
#include "ash/common/shelf/shelf_constants.h"
#include "ash/common/shell_observer.h"
@@ -35,6 +34,7 @@
#include "ui/aura/test/test_windows.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
+#include "ui/base/ui_base_switches.h"
#include "ui/base/ui_base_types.h"
#include "ui/display/manager/display_layout.h"
#include "ui/display/screen.h"
@@ -1103,8 +1103,8 @@ class WorkspaceLayoutManagerKeyboardTest : public test::AshTestBase {
void EnableNewVKMode() {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- if (!command_line->HasSwitch(switches::kAshUseNewVKWindowBehavior)) {
- command_line->AppendSwitch(switches::kAshUseNewVKWindowBehavior);
+ if (!command_line->HasSwitch(::switches::kUseNewVKWindowBehavior)) {
sky 2016/08/19 03:05:36 no {} here.
hariank 2016/08/19 17:27:20 Done.
+ command_line->AppendSwitch(::switches::kUseNewVKWindowBehavior);
}
}

Powered by Google App Engine
This is Rietveld 408576698