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_ 7 8 class PrefRegistrySimple; 9 class PrefService; 10 11 namespace user_prefs { 12 class PrefRegistrySyncable; 13 } 14 15 namespace chrome { 16 17 // Register local state preferences specific to BrowserView. 18 void RegisterBrowserViewLocalPrefs(PrefRegistrySimple* registry); 19 20 // Register profile-specific preferences specific to BrowserView. These 21 // preferences may be synced, depending on the pref's |sync_status| parameter. 22 void RegisterBrowserViewProfilePrefs( 23 user_prefs::PrefRegistrySyncable* registry); 24 25 // Converts deprecated int tabstrip layout type into a boolean value indicating 26 // stacked layout preference. 27 void MigrateBrowserTabStripPrefs(PrefService* pref); 28 29 } // namespace chrome 30 31 #endif // CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ 32