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

Unified Diff: ash/display/display_layout_store.cc

Issue 1261693004: Allow dynamic enabling/disabling of unified desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/display/display_layout.cc ('k') | ash/display/display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_layout_store.cc
diff --git a/ash/display/display_layout_store.cc b/ash/display/display_layout_store.cc
index 2f5dc2b3f37b29561c4f2e3ea4b7d9ed5161911d..c002e04e8f79769c6c6ac79ad2fbd8861dcd5748 100644
--- a/ash/display/display_layout_store.cc
+++ b/ash/display/display_layout_store.cc
@@ -51,11 +51,6 @@ void DisplayLayoutStore::RegisterLayoutForDisplayIdPair(
const DisplayLayout& layout) {
auto key = CreateDisplayIdPair(id1, id2);
paired_layouts_[key] = layout;
-#if defined(OS_CHROMEOS)
- // Force disabling unified desktop if the flag is not set.
- if (!switches::UnifiedDesktopEnabled())
- paired_layouts_[key].default_unified = false;
-#endif
}
DisplayLayout DisplayLayoutStore::GetRegisteredDisplayLayout(
« no previous file with comments | « ash/display/display_layout.cc ('k') | ash/display/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698