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

Unified Diff: chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h

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 (more refactoring) 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/ui/tabs/tab_strip_layout_type_prefs.h
diff --git a/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h b/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h
index 80d06b01ac02d4fbb57ab263393fe3468c028915..3542db8beccc5b7cd9c5c5573326e9ded40d9496 100644
--- a/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h
+++ b/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h
@@ -6,12 +6,19 @@
#define CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_
class PrefRegistrySimple;
+class PrefService;
namespace chrome {
+namespace tab_strip_layout_type_prefs {
Peter Kasting 2014/05/23 22:38:43 Why do we need another namespace? We shouldn't ha
varkha 2014/05/23 22:50:56 Code moved so this namespace is not necessary.
-// Register local state preferences specific to the TabStrip.
-void RegisterTabStripLayoutTypePrefs(PrefRegistrySimple* registry);
+// Registers local state preferences specific to the TabStrip.
+void RegisterPrefs(PrefRegistrySimple* registry);
+// Converts possibly existing value for tabstrip layout type into a boolean
+// value indicating stacked layout preference.
+void MigratePrefs(PrefService* pref);
+
+} // namespace tab_strip_layout_type_prefs
} // namespace chrome
#endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_

Powered by Google App Engine
This is Rietveld 408576698