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

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.
995 const char kOverrideContentSettings[] = "profile.override_content_settings";
Bernhard Bauer 2014/09/10 09:07:18 There are some existing prefs/switches for turning
Daniel Nishi 2014/09/10 16:38:29 Do you know an example of one off the top of your
Bernhard Bauer 2014/09/11 16:49:56 Yeah, those were the ones I had in mind. Although
996
993 // Boolean indicating whether the clear on exit pref was migrated to content 997 // Boolean indicating whether the clear on exit pref was migrated to content
994 // settings yet. 998 // settings yet.
995 const char kContentSettingsClearOnExitMigrated[] = 999 const char kContentSettingsClearOnExitMigrated[] =
996 "profile.content_settings.clear_on_exit_migrated"; 1000 "profile.content_settings.clear_on_exit_migrated";
997 1001
998 // Version of the pattern format used to define content settings. 1002 // Version of the pattern format used to define content settings.
999 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; 1003 const char kContentSettingsVersion[] = "profile.content_settings.pref_version";
1000 1004
1001 // Patterns for mapping origins to origin related settings. Default settings 1005 // 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 1006 // will be applied to origins that don't match any of the patterns. The pattern
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2321 // Whether DNS Quick Check is disabled in proxy resolution. 2325 // Whether DNS Quick Check is disabled in proxy resolution.
2322 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2326 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2323 2327
2324 // Whether Guest Mode is enabled within the browser. 2328 // Whether Guest Mode is enabled within the browser.
2325 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2329 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2326 2330
2327 // Whether Adding a new Person is enabled within the user manager. 2331 // Whether Adding a new Person is enabled within the user manager.
2328 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2332 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2329 2333
2330 } // namespace prefs 2334 } // namespace prefs
OLDNEW
« chrome/browser/content_settings/host_content_settings_map.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698