OLD | NEW |
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 const char kWebKitUsesUniversalDetector[] = | 218 const char kWebKitUsesUniversalDetector[] = |
219 "webkit.webprefs.uses_universal_detector"; | 219 "webkit.webprefs.uses_universal_detector"; |
220 const char kWebKitTextAreasAreResizable[] = | 220 const char kWebKitTextAreasAreResizable[] = |
221 "webkit.webprefs.text_areas_are_resizable"; | 221 "webkit.webprefs.text_areas_are_resizable"; |
222 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; | 222 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; |
223 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; | 223 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; |
224 const char kWebKitAllowDisplayingInsecureContent[] = | 224 const char kWebKitAllowDisplayingInsecureContent[] = |
225 "webkit.webprefs.allow_displaying_insecure_content"; | 225 "webkit.webprefs.allow_displaying_insecure_content"; |
226 const char kWebKitAllowRunningInsecureContent[] = | 226 const char kWebKitAllowRunningInsecureContent[] = |
227 "webkit.webprefs.allow_running_insecure_content"; | 227 "webkit.webprefs.allow_running_insecure_content"; |
228 const char kWebKitXSSAuditorEnabled[] = | |
229 "webkit.webprefs.xss_auditor_enabled"; | |
230 | 228 |
231 // Settings below can be overridden for each tab individually. | 229 // Settings below can be overridden for each tab individually. |
232 const char kDefaultCharset[] = "intl.charset_default"; | 230 const char kDefaultCharset[] = "intl.charset_default"; |
233 const char kWebKitStandardFontFamily[] = "webkit.webprefs.standard_font_family"; | 231 const char kWebKitStandardFontFamily[] = "webkit.webprefs.standard_font_family"; |
234 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family"; | 232 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fixed_font_family"; |
235 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family"; | 233 const char kWebKitSerifFontFamily[] = "webkit.webprefs.serif_font_family"; |
236 const char kWebKitSansSerifFontFamily[] = | 234 const char kWebKitSansSerifFontFamily[] = |
237 "webkit.webprefs.sansserif_font_family"; | 235 "webkit.webprefs.sansserif_font_family"; |
238 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family"; | 236 const char kWebKitCursiveFontFamily[] = "webkit.webprefs.cursive_font_family"; |
239 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family"; | 237 const char kWebKitFantasyFontFamily[] = "webkit.webprefs.fantasy_font_family"; |
240 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; | 238 const char kWebKitDefaultFontSize[] = "webkit.webprefs.default_font_size"; |
241 const char kWebKitDefaultFixedFontSize[] = | 239 const char kWebKitDefaultFixedFontSize[] = |
242 "webkit.webprefs.default_fixed_font_size"; | 240 "webkit.webprefs.default_fixed_font_size"; |
243 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; | 241 const char kWebKitMinimumFontSize[] = "webkit.webprefs.minimum_font_size"; |
244 const char kWebKitMinimumLogicalFontSize[] = | 242 const char kWebKitMinimumLogicalFontSize[] = |
245 "webkit.webprefs.minimum_logical_font_size"; | 243 "webkit.webprefs.minimum_logical_font_size"; |
246 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; | 244 const char kWebKitJavascriptEnabled[] = "webkit.webprefs.javascript_enabled"; |
247 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = | 245 const char kWebKitJavascriptCanOpenWindowsAutomatically[] = |
248 "webkit.webprefs.javascript_can_open_windows_automatically"; | 246 "webkit.webprefs.javascript_can_open_windows_automatically"; |
249 const char kWebKitLoadsImagesAutomatically[] = | 247 const char kWebKitLoadsImagesAutomatically[] = |
250 "webkit.webprefs.loads_images_automatically"; | 248 "webkit.webprefs.loads_images_automatically"; |
251 const char kWebKitImagesEnabled[] = | |
252 "webkit.webprefs.images_enabled"; | |
253 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; | 249 const char kWebKitPluginsEnabled[] = "webkit.webprefs.plugins_enabled"; |
254 | 250 |
255 // Boolean which specifies whether the bookmark bar is visible on all tabs. | 251 // Boolean which specifies whether the bookmark bar is visible on all tabs. |
256 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; | 252 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; |
257 | 253 |
258 // Boolean which specifies the ids of the bookmark nodes that are expanded in | 254 // Boolean which specifies the ids of the bookmark nodes that are expanded in |
259 // the bookmark editor. | 255 // the bookmark editor. |
260 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; | 256 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; |
261 | 257 |
262 // Boolean that is true if the password manager is on (will record new | 258 // Boolean that is true if the password manager is on (will record new |
(...skipping 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1806 const char kMinFlickSpeedSquared[] = | 1802 const char kMinFlickSpeedSquared[] = |
1807 "gesture.min_flick_speed_squared"; | 1803 "gesture.min_flick_speed_squared"; |
1808 const char kMinimumTouchDownDurationInSecondsForClick[] = | 1804 const char kMinimumTouchDownDurationInSecondsForClick[] = |
1809 "gesture.minimum_touch_down_duration_in_seconds_for_click"; | 1805 "gesture.minimum_touch_down_duration_in_seconds_for_click"; |
1810 #endif | 1806 #endif |
1811 | 1807 |
1812 // Indicates whether the browser is in managed mode. | 1808 // Indicates whether the browser is in managed mode. |
1813 const char kInManagedMode[] = "managed_mode"; | 1809 const char kInManagedMode[] = "managed_mode"; |
1814 | 1810 |
1815 } // namespace prefs | 1811 } // namespace prefs |
OLD | NEW |