| 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..558c2a5ffd52062ab0bed149c9ca24d074361119 100644
|
| --- a/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h
|
| +++ b/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h
|
| @@ -6,11 +6,22 @@
|
| #define CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_
|
|
|
| class PrefRegistrySimple;
|
| +class PrefService;
|
|
|
| namespace chrome {
|
|
|
| -// Register local state preferences specific to the TabStrip.
|
| -void RegisterTabStripLayoutTypePrefs(PrefRegistrySimple* registry);
|
| +class TabStripLayoutTypePrefs {
|
| + public:
|
| + // Register local state preferences specific to the TabStrip.
|
| + static void Register(PrefRegistrySimple* registry);
|
| +
|
| + // Returns |prefs| setting for whether stacked layout is used.
|
| + static bool GetStackedLayout(PrefService* prefs);
|
| +
|
| + // Sets |prefs| setting for whether stacked layout is used as specified by
|
| + // |stacked_layout| parameter.
|
| + static void SetStackedLayout(PrefService* prefs, bool stacked_layout);
|
| +};
|
|
|
| } // namespace chrome
|
|
|
|
|