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

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

Issue 263423003: Add a policy to re-enable deprecated web platform features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 // The value to use for Accept-Languages HTTP header when making an HTTP 149 // The value to use for Accept-Languages HTTP header when making an HTTP
150 // request. 150 // request.
151 const char kAcceptLanguages[] = "intl.accept_languages"; 151 const char kAcceptLanguages[] = "intl.accept_languages";
152 152
153 // The value to use for showing locale-dependent encoding list for different 153 // The value to use for showing locale-dependent encoding list for different
154 // locale, it's initialized from the corresponding string resource that is 154 // locale, it's initialized from the corresponding string resource that is
155 // stored in non-translatable part of the resource bundle. 155 // stored in non-translatable part of the resource bundle.
156 const char kStaticEncodings[] = "intl.static_encodings"; 156 const char kStaticEncodings[] = "intl.static_encodings";
157 157
158 // A list of deprecated web platform features to be enabled in the renderer.
159 // Valid list entries are RendererPreferencesDeprecatedFeatureEnum integer
160 // values.
161 const char kEnableDeprecatedWebPlatformFeatures[] =
162 "enable_deprecated_web_platform_features";
163
158 // If these change, the corresponding enums in the extension API 164 // If these change, the corresponding enums in the extension API
159 // experimental.fontSettings.json must also change. 165 // experimental.fontSettings.json must also change.
160 const char* const kWebKitScriptsForFontFamilyMaps[] = { 166 const char* const kWebKitScriptsForFontFamilyMaps[] = {
161 #define EXPAND_SCRIPT_FONT(x, script_name) script_name , 167 #define EXPAND_SCRIPT_FONT(x, script_name) script_name ,
162 #include "chrome/common/pref_font_script_names-inl.h" 168 #include "chrome/common/pref_font_script_names-inl.h"
163 ALL_FONT_SCRIPTS("unused param") 169 ALL_FONT_SCRIPTS("unused param")
164 #undef EXPAND_SCRIPT_FONT 170 #undef EXPAND_SCRIPT_FONT
165 }; 171 };
166 172
167 const size_t kWebKitScriptsForFontFamilyMapsLength = 173 const size_t kWebKitScriptsForFontFamilyMapsLength =
(...skipping 2363 matching lines...) Expand 10 before | Expand all | Expand 10 after
2531 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2537 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2532 // given by the PartnerBookmarksProvider and either the user-visible renamed 2538 // given by the PartnerBookmarksProvider and either the user-visible renamed
2533 // title or an empty string if the bookmark node was removed. 2539 // title or an empty string if the bookmark node was removed.
2534 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2540 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2535 #endif 2541 #endif
2536 2542
2537 // Whether DNS Quick Check is disabled in proxy resolution. 2543 // Whether DNS Quick Check is disabled in proxy resolution.
2538 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2544 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2539 2545
2540 } // namespace prefs 2546 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698