[email protected] | 10951eb | 2012-05-08 22:12:51 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ | ||||
6 | #define CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ | ||||
[email protected] | 10951eb | 2012-05-08 22:12:51 | [diff] [blame] | 7 | |
[email protected] | b1de2c7 | 2013-02-06 02:45:47 | [diff] [blame] | 8 | class PrefRegistrySimple; |
[email protected] | 7f70e5f | 2014-05-29 19:28:16 | [diff] [blame] | 9 | class PrefService; |
[email protected] | 10951eb | 2012-05-08 22:12:51 | [diff] [blame] | 10 | |
[email protected] | af97be4c6 | 2014-02-13 14:43:34 | [diff] [blame] | 11 | namespace user_prefs { |
12 | class PrefRegistrySyncable; | ||||
13 | } | ||||
14 | |||||
[email protected] | 10951eb | 2012-05-08 22:12:51 | [diff] [blame] | 15 | // Register local state preferences specific to BrowserView. |
[email protected] | af97be4c6 | 2014-02-13 14:43:34 | [diff] [blame] | 16 | void RegisterBrowserViewLocalPrefs(PrefRegistrySimple* registry); |
17 | |||||
18 | // Register profile-specific preferences specific to BrowserView. These | ||||
19 | // preferences may be synced, depending on the pref's |sync_status| parameter. | ||||
20 | void RegisterBrowserViewProfilePrefs( | ||||
21 | user_prefs::PrefRegistrySyncable* registry); | ||||
[email protected] | 10951eb | 2012-05-08 22:12:51 | [diff] [blame] | 22 | |
[email protected] | 7f70e5f | 2014-05-29 19:28:16 | [diff] [blame] | 23 | // Converts deprecated int tabstrip layout type into a boolean value indicating |
24 | // stacked layout preference. | ||||
25 | void MigrateBrowserTabStripPrefs(PrefService* pref); | ||||
26 | |||||
[email protected] | 10951eb | 2012-05-08 22:12:51 | [diff] [blame] | 27 | #endif // CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ |