OLD | NEW |
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 #include "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 "browser.show_update_promotion_info_bar"; | 983 "browser.show_update_promotion_info_bar"; |
984 #endif | 984 #endif |
985 | 985 |
986 // Boolean that is false if we should show window manager decorations. If | 986 // Boolean that is false if we should show window manager decorations. If |
987 // true, we draw a custom chrome frame (thicker title bar and blue border). | 987 // true, we draw a custom chrome frame (thicker title bar and blue border). |
988 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; | 988 const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; |
989 | 989 |
990 // Dictionary of content settings applied to all hosts by default. | 990 // Dictionary of content settings applied to all hosts by default. |
991 const char kDefaultContentSettings[] = "profile.default_content_settings"; | 991 const char kDefaultContentSettings[] = "profile.default_content_settings"; |
992 | 992 |
| 993 // Dictionary of content settings that can globally disallow all hosts by |
| 994 // default. If a value is set, it means the setting is globally disallowed. |
| 995 // If a value is not set, it means the setting is allowed. |
| 996 const char kOverrideContentSettings[] = "profile.override_content_settings"; |
| 997 |
993 // Boolean indicating whether the clear on exit pref was migrated to content | 998 // Boolean indicating whether the clear on exit pref was migrated to content |
994 // settings yet. | 999 // settings yet. |
995 const char kContentSettingsClearOnExitMigrated[] = | 1000 const char kContentSettingsClearOnExitMigrated[] = |
996 "profile.content_settings.clear_on_exit_migrated"; | 1001 "profile.content_settings.clear_on_exit_migrated"; |
997 | 1002 |
998 // Version of the pattern format used to define content settings. | 1003 // Version of the pattern format used to define content settings. |
999 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; | 1004 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; |
1000 | 1005 |
1001 // Patterns for mapping origins to origin related settings. Default settings | 1006 // Patterns for mapping origins to origin related settings. Default settings |
1002 // will be applied to origins that don't match any of the patterns. The pattern | 1007 // will be applied to origins that don't match any of the patterns. The pattern |
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2334 // Whether DNS Quick Check is disabled in proxy resolution. | 2339 // Whether DNS Quick Check is disabled in proxy resolution. |
2335 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2340 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2336 | 2341 |
2337 // Whether Guest Mode is enabled within the browser. | 2342 // Whether Guest Mode is enabled within the browser. |
2338 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2343 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
2339 | 2344 |
2340 // Whether Adding a new Person is enabled within the user manager. | 2345 // Whether Adding a new Person is enabled within the user manager. |
2341 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; | 2346 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; |
2342 | 2347 |
2343 } // namespace prefs | 2348 } // namespace prefs |
OLD | NEW |