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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 291093005: Removes --enable-stacked-tab-strip flag (Stacked Tabs) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removes --enable-stacked-tab-strip flag (moved pref logic to browser_view_prefs) Created 6 years, 7 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: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 9c50ef97e18159f0259ce49e4b4bedbc5ac9a75b..06b540cfae61aeaea768287571f47e5e8cf96f96 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -180,7 +180,6 @@
#if defined(TOOLKIT_VIEWS)
#include "chrome/browser/ui/browser_view_prefs.h"
-#include "chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h"
#endif
#if defined(USE_ASH)
@@ -322,7 +321,6 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
#if defined(TOOLKIT_VIEWS)
RegisterBrowserViewLocalPrefs(registry);
- RegisterTabStripLayoutTypePrefs(registry);
#endif
}
@@ -575,6 +573,10 @@ void MigrateBrowserPrefs(Profile* profile, PrefService* local_state) {
#if defined(OS_CHROMEOS)
chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state);
#endif
+
+#if defined(TOOLKIT_VIEWS)
+ MigrateBrowserTabStripPrefs(local_state);
+#endif
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698