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

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

Issue 55363004: Enables docked windows by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enables docked windows by default 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
Index: ash/wm/dock/docked_window_layout_manager.cc
diff --git a/ash/wm/dock/docked_window_layout_manager.cc b/ash/wm/dock/docked_window_layout_manager.cc
index 19f92f1b850975e4ae6550547c264330d8204003..f74d9b240d57d15229902a85a572c0ccea01d66e 100644
--- a/ash/wm/dock/docked_window_layout_manager.cc
+++ b/ash/wm/dock/docked_window_layout_manager.cc
@@ -379,8 +379,7 @@ DockedAlignment DockedWindowLayoutManager::CalculateAlignment() const {
bool DockedWindowLayoutManager::CanDockWindow(aura::Window* window,
SnapType edge) {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshEnableDockedWindows)) {
+ if (!switches::UseDockedWindows()) {
flackr 2013/11/01 16:52:28 nit: no curlies { }
varkha 2013/11/05 20:34:23 Done.
return false;
}
// Don't allow interactive docking of windows with transient parents such as

Powered by Google App Engine
This is Rietveld 408576698