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

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

Issue 344693004: Add a policy to re-enable deprecated web platform features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed prefs, cleaned up nits. Created 6 years, 6 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
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 const char kWebKitUsesUniversalDetector[] = 252 const char kWebKitUsesUniversalDetector[] =
253 "webkit.webprefs.uses_universal_detector"; 253 "webkit.webprefs.uses_universal_detector";
254 const char kWebKitTextAreasAreResizable[] = 254 const char kWebKitTextAreasAreResizable[] =
255 "webkit.webprefs.text_areas_are_resizable"; 255 "webkit.webprefs.text_areas_are_resizable";
256 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled"; 256 const char kWebKitJavaEnabled[] = "webkit.webprefs.java_enabled";
257 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; 257 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links";
258 const char kWebKitAllowDisplayingInsecureContent[] = 258 const char kWebKitAllowDisplayingInsecureContent[] =
259 "webkit.webprefs.allow_displaying_insecure_content"; 259 "webkit.webprefs.allow_displaying_insecure_content";
260 const char kWebKitAllowRunningInsecureContent[] = 260 const char kWebKitAllowRunningInsecureContent[] =
261 "webkit.webprefs.allow_running_insecure_content"; 261 "webkit.webprefs.allow_running_insecure_content";
262
262 #if defined(OS_ANDROID) 263 #if defined(OS_ANDROID)
263 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor"; 264 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor";
264 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom"; 265 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom";
265 const char kWebKitPasswordEchoEnabled[] = 266 const char kWebKitPasswordEchoEnabled[] =
266 "webkit.webprefs.password_echo_enabled"; 267 "webkit.webprefs.password_echo_enabled";
267 #endif 268 #endif
268 269
269 const char kWebKitCommonScript[] = "Zyyy"; 270 const char kWebKitCommonScript[] = "Zyyy";
270 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy"; 271 const char kWebKitStandardFontFamily[] = "webkit.webprefs.fonts.standard.Zyyy";
271 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy"; 272 const char kWebKitFixedFontFamily[] = "webkit.webprefs.fonts.fixed.Zyyy";
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 1129
1129 // The default video capture device used by the Media content setting. 1130 // The default video capture device used by the Media content setting.
1130 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; 1131 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device";
1131 1132
1132 // The salt used for creating random MediaSource IDs. 1133 // The salt used for creating random MediaSource IDs.
1133 const char kMediaDeviceIdSalt[] = "media.device_id_salt"; 1134 const char kMediaDeviceIdSalt[] = "media.device_id_salt";
1134 1135
1135 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1136 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1136 const char kDisable3DAPIs[] = "disable_3d_apis"; 1137 const char kDisable3DAPIs[] = "disable_3d_apis";
1137 1138
1139 const char kEnableDeprecatedWebPlatformFeatures[] =
1140 "enable_deprecated_web_platform_features";
1141
1138 // Whether to enable hyperlink auditing ("<a ping>"). 1142 // Whether to enable hyperlink auditing ("<a ping>").
1139 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 1143 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
1140 1144
1141 // Whether to enable sending referrers. 1145 // Whether to enable sending referrers.
1142 const char kEnableReferrers[] = "enable_referrers"; 1146 const char kEnableReferrers[] = "enable_referrers";
1143 1147
1144 // Whether to send the DNT header. 1148 // Whether to send the DNT header.
1145 const char kEnableDoNotTrack[] = "enable_do_not_track"; 1149 const char kEnableDoNotTrack[] = "enable_do_not_track";
1146 1150
1147 // GL_VENDOR string. 1151 // GL_VENDOR string.
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after
2380 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2384 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2381 // given by the PartnerBookmarksProvider and either the user-visible renamed 2385 // given by the PartnerBookmarksProvider and either the user-visible renamed
2382 // title or an empty string if the bookmark node was removed. 2386 // title or an empty string if the bookmark node was removed.
2383 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2387 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2384 #endif 2388 #endif
2385 2389
2386 // Whether DNS Quick Check is disabled in proxy resolution. 2390 // Whether DNS Quick Check is disabled in proxy resolution.
2387 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2391 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2388 2392
2389 } // namespace prefs 2393 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698