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

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

Issue 8716004: Add per-tab "JavaScript enabled" preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const char kWebKitSansSerifFontFamilyTraditionalHan[] = 180 const char kWebKitSansSerifFontFamilyTraditionalHan[] =
181 "webkit.webprefs.fonts.sansserif.Hant"; 181 "webkit.webprefs.fonts.sansserif.Hant";
182 182
183 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; 183 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size";
184 const char kWebKitDefaultFixedFontSize[] = 184 const char kWebKitDefaultFixedFontSize[] =
185 "webkit.webprefs.default_fixed_font_size"; 185 "webkit.webprefs.default_fixed_font_size";
186 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; 186 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size";
187 const char kWebKitMinimumLogicalFontSize[] = 187 const char kWebKitMinimumLogicalFontSize[] =
188 "webkit.webprefs.minimum_logical_font_size"; 188 "webkit.webprefs.minimum_logical_font_size";
189 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; 189 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled";
190 const char kWebKitGlobalJavascriptEnabled[] =
191 "webkit.webprefs.global.javascript_enabled";
Mattias Nissler (ping if slow) 2011/11/28 15:04:16 Is the strategy to interleave the new type here? W
mnaganov (inactive) 2011/11/28 15:20:06 I think we need to group per-tab preferences. So I
190 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled"; 192 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled";
191 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = 193 const char kWebKitJavascriptCanOpenWindowsAutomatically[] =
192 "webkit.webprefs.javascript_can_open_windows_automatically"; 194 "webkit.webprefs.javascript_can_open_windows_automatically";
193 const char kWebKitLoadsImagesAutomatically[] = 195 const char kWebKitLoadsImagesAutomatically[] =
194 "webkit.webprefs.loads_images_automatically"; 196 "webkit.webprefs.loads_images_automatically";
195 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; 197 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled";
196 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled"; 198 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled";
197 const char kWebKitShrinksStandaloneImagesToFit[] = 199 const char kWebKitShrinksStandaloneImagesToFit[] =
198 "webkit.webprefs.shrinks_standalone_images_to_fit"; 200 "webkit.webprefs.shrinks_standalone_images_to_fit";
199 const char kWebKitInspectorSettings[] = "webkit.webprefs.inspector_settings"; 201 const char kWebKitInspectorSettings[] = "webkit.webprefs.inspector_settings";
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 1665
1664 // String that represents the recovery component last downloaded version. This 1666 // String that represents the recovery component last downloaded version. This
1665 // takes the usual 'a.b.c.d' notation. 1667 // takes the usual 'a.b.c.d' notation.
1666 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1668 const char kRecoveryComponentVersion[] = "recovery_component.version";
1667 1669
1668 // String that stores the component updater last known state. This is used for 1670 // String that stores the component updater last known state. This is used for
1669 // troubleshooting. 1671 // troubleshooting.
1670 const char kComponentUpdaterState[] = "component_updater.state"; 1672 const char kComponentUpdaterState[] = "component_updater.state";
1671 1673
1672 } // namespace prefs 1674 } // namespace prefs
OLDNEW
« chrome/browser/prefs/overlay_user_pref_store_unittest.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698