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

Side by Side Diff: chrome/common/pref_names.cc

Issue 542253003: Add a global on/off switch for content settings and expose a toggle on the Website Settings options… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@global-settings
Patch Set: Created 6 years, 3 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
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 #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
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.
Bernhard Bauer 2014/09/15 09:17:16 Please also explain that in that case, we will fal
Daniel Nishi 2014/09/15 17:40:51 Done.
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 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2317 // Whether DNS Quick Check is disabled in proxy resolution. 2322 // Whether DNS Quick Check is disabled in proxy resolution.
2318 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2323 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2319 2324
2320 // Whether Guest Mode is enabled within the browser. 2325 // Whether Guest Mode is enabled within the browser.
2321 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2326 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2322 2327
2323 // Whether Adding a new Person is enabled within the user manager. 2328 // Whether Adding a new Person is enabled within the user manager.
2324 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2329 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2325 2330
2326 } // namespace prefs 2331 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698