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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_
6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_
7 7
8 class PrefRegistrySimple; 8 class PrefRegistrySimple;
9 class PrefService;
9 10
10 namespace chrome { 11 namespace chrome {
11 12
12 // Register local state preferences specific to the TabStrip. 13 class TabStripLayoutTypePrefs {
13 void RegisterTabStripLayoutTypePrefs(PrefRegistrySimple* registry); 14 public:
15 // Register local state preferences specific to the TabStrip.
16 static void Register(PrefRegistrySimple* registry);
17
18 // Returns |prefs| setting for whether stacked layout is used.
19 static bool GetStackedLayout(PrefService* prefs);
20
21 // Sets |prefs| setting for whether stacked layout is used as specified by
22 // |stacked_layout| parameter.
23 static void SetStackedLayout(PrefService* prefs, bool stacked_layout);
24 };
14 25
15 } // namespace chrome 26 } // namespace chrome
16 27
17 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ 28 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698