OLD | NEW |
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 "webkit.webprefs.fonts.serif.Hant"; | 179 "webkit.webprefs.fonts.serif.Hant"; |
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 kWebKitGlobalJavascriptEnabled[] = |
| 190 "webkit.webprefs.global.javascript_enabled"; |
190 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled"; | 191 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled"; |
191 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = | 192 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = |
192 "webkit.webprefs.javascript_can_open_windows_automatically"; | 193 "webkit.webprefs.javascript_can_open_windows_automatically"; |
193 const char kWebKitLoadsImagesAutomatically[] = | 194 const char kWebKitLoadsImagesAutomatically[] = |
194 "webkit.webprefs.loads_images_automatically"; | 195 "webkit.webprefs.loads_images_automatically"; |
195 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; | 196 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; |
196 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled"; | 197 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled"; |
197 const char kWebKitShrinksStandaloneImagesToFit[] = | 198 const char kWebKitShrinksStandaloneImagesToFit[] = |
198 "webkit.webprefs.shrinks_standalone_images_to_fit"; | 199 "webkit.webprefs.shrinks_standalone_images_to_fit"; |
199 const char kWebKitInspectorSettings[] = "webkit.webprefs.inspector_settings"; | 200 const char kWebKitInspectorSettings[] = "webkit.webprefs.inspector_settings"; |
200 const char kWebKitUsesUniversalDetector[] = | 201 const char kWebKitUsesUniversalDetector[] = |
201 "webkit.webprefs.uses_universal_detector"; | 202 "webkit.webprefs.uses_universal_detector"; |
202 const char kWebKitTextAreasAreResizable[] = | 203 const char kWebKitTextAreasAreResizable[] = |
203 "webkit.webprefs.text_areas_are_resizable"; | 204 "webkit.webprefs.text_areas_are_resizable"; |
204 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; | 205 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; |
205 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; | 206 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; |
206 const char kWebKitAllowDisplayingInsecureContent[] = | 207 const char kWebKitAllowDisplayingInsecureContent[] = |
207 "webkit.webprefs.allow_displaying_insecure_content"; | 208 "webkit.webprefs.allow_displaying_insecure_content"; |
208 const char kWebKitAllowRunningInsecureContent[] = | 209 const char kWebKitAllowRunningInsecureContent[] = |
209 "webkit.webprefs.allow_running_insecure_content"; | 210 "webkit.webprefs.allow_running_insecure_content"; |
210 | 211 |
| 212 // Settings below can be overridden for each tab individually. |
| 213 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; |
| 214 |
211 // Boolean which specifies whether the bookmark bar is visible on all tabs. | 215 // Boolean which specifies whether the bookmark bar is visible on all tabs. |
212 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; | 216 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; |
213 | 217 |
214 // Boolean which specifies the ids of the bookmark nodes that are expanded in | 218 // Boolean which specifies the ids of the bookmark nodes that are expanded in |
215 // the bookmark editor. | 219 // the bookmark editor. |
216 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; | 220 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; |
217 | 221 |
218 // Boolean that is true if the password manager is on (will record new | 222 // Boolean that is true if the password manager is on (will record new |
219 // passwords and fill in known passwords). | 223 // passwords and fill in known passwords). |
220 const char kPasswordManagerEnabled[] = "profile.password_manager_enabled"; | 224 const char kPasswordManagerEnabled[] = "profile.password_manager_enabled"; |
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 | 1667 |
1664 // String that represents the recovery component last downloaded version. This | 1668 // String that represents the recovery component last downloaded version. This |
1665 // takes the usual 'a.b.c.d' notation. | 1669 // takes the usual 'a.b.c.d' notation. |
1666 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 1670 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
1667 | 1671 |
1668 // String that stores the component updater last known state. This is used for | 1672 // String that stores the component updater last known state. This is used for |
1669 // troubleshooting. | 1673 // troubleshooting. |
1670 const char kComponentUpdaterState[] = "component_updater.state"; | 1674 const char kComponentUpdaterState[] = "component_updater.state"; |
1671 | 1675 |
1672 } // namespace prefs | 1676 } // namespace prefs |
OLD | NEW |