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

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

Issue 9264071: Add per-tab XSSAuditorEnabled setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 const char kWebKitUsesUniversalDetector[] = 209 const char kWebKitUsesUniversalDetector[] =
210 "webkit.webprefs.uses_universal_detector"; 210 "webkit.webprefs.uses_universal_detector";
211 const char kWebKitTextAreasAreResizable[] = 211 const char kWebKitTextAreasAreResizable[] =
212 "webkit.webprefs.text_areas_are_resizable"; 212 "webkit.webprefs.text_areas_are_resizable";
213 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; 213 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled";
214 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; 214 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links";
215 const char kWebKitAllowDisplayingInsecureContent[] = 215 const char kWebKitAllowDisplayingInsecureContent[] =
216 "webkit.webprefs.allow_displaying_insecure_content"; 216 "webkit.webprefs.allow_displaying_insecure_content";
217 const char kWebKitAllowRunningInsecureContent[] = 217 const char kWebKitAllowRunningInsecureContent[] =
218 "webkit.webprefs.allow_running_insecure_content"; 218 "webkit.webprefs.allow_running_insecure_content";
219 const char kWebKitXSSAuditorEnabled[] =
220 "webkit.webprefs.xss_auditor_enabled";
219 221
220 // Settings below can be overridden for each tab individually. 222 // Settings below can be overridden for each tab individually.
221 const char kDefaultCharset[] = "intl.charset_default"; 223 const char kDefaultCharset[] = "intl.charset_default";
222 const char kWebKitStandardFontFamily[] = "webkit.webprefs.standard_font_family"; 224 const char kWebKitStandardFontFamily[] = "webkit.webprefs.standard_font_family";
223 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family"; 225 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family";
224 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family"; 226 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family";
225 const char kWebKitSansSerifFontFamily[] = 227 const char kWebKitSansSerifFontFamily[] =
226 "webkit.webprefs.sansserif_font_family"; 228 "webkit.webprefs.sansserif_font_family";
227 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family"; 229 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family";
228 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family"; 230 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family";
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 1741
1740 // String that represents the recovery component last downloaded version. This 1742 // String that represents the recovery component last downloaded version. This
1741 // takes the usual 'a.b.c.d' notation. 1743 // takes the usual 'a.b.c.d' notation.
1742 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1744 const char kRecoveryComponentVersion[] = "recovery_component.version";
1743 1745
1744 // String that stores the component updater last known state. This is used for 1746 // String that stores the component updater last known state. This is used for
1745 // troubleshooting. 1747 // troubleshooting.
1746 const char kComponentUpdaterState[] = "component_updater.state"; 1748 const char kComponentUpdaterState[] = "component_updater.state";
1747 1749
1748 } // namespace prefs 1750 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698