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

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

Issue 2312263003: Move some deprecated prefs out of chrome/common/pref_names.cc. (Closed)
Patch Set: build Created 4 years, 3 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 #endif 209 #endif
210 210
211 // The default character encoding to assume for a web page in the 211 // The default character encoding to assume for a web page in the
212 // absence of MIME charset specification 212 // absence of MIME charset specification
213 const char kDefaultCharset[] = "intl.charset_default"; 213 const char kDefaultCharset[] = "intl.charset_default";
214 214
215 // The value to use for Accept-Languages HTTP header when making an HTTP 215 // The value to use for Accept-Languages HTTP header when making an HTTP
216 // request. 216 // request.
217 const char kAcceptLanguages[] = "intl.accept_languages"; 217 const char kAcceptLanguages[] = "intl.accept_languages";
218 218
219 // The value to use for showing locale-dependent encoding list for different
220 // locale, it's initialized from the corresponding string resource that is
221 // stored in non-translatable part of the resource bundle.
222 // Deprecated 8/2016.
223 const char kStaticEncodings[] = "intl.static_encodings";
224
225 // If these change, the corresponding enums in the extension API 219 // If these change, the corresponding enums in the extension API
226 // experimental.fontSettings.json must also change. 220 // experimental.fontSettings.json must also change.
227 const char* const kWebKitScriptsForFontFamilyMaps[] = { 221 const char* const kWebKitScriptsForFontFamilyMaps[] = {
228 #define EXPAND_SCRIPT_FONT(x, script_name) script_name , 222 #define EXPAND_SCRIPT_FONT(x, script_name) script_name ,
229 #include "chrome/common/pref_font_script_names-inl.h" 223 #include "chrome/common/pref_font_script_names-inl.h"
230 ALL_FONT_SCRIPTS("unused param") 224 ALL_FONT_SCRIPTS("unused param")
231 #undef EXPAND_SCRIPT_FONT 225 #undef EXPAND_SCRIPT_FONT
232 }; 226 };
233 227
234 const size_t kWebKitScriptsForFontFamilyMapsLength = 228 const size_t kWebKitScriptsForFontFamilyMapsLength =
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 const char kWebKitFixedFontFamilyTraditionalHan[] = 306 const char kWebKitFixedFontFamilyTraditionalHan[] =
313 "webkit.webprefs.fonts.fixed.Hant"; 307 "webkit.webprefs.fonts.fixed.Hant";
314 const char kWebKitSerifFontFamilyTraditionalHan[] = 308 const char kWebKitSerifFontFamilyTraditionalHan[] =
315 "webkit.webprefs.fonts.serif.Hant"; 309 "webkit.webprefs.fonts.serif.Hant";
316 const char kWebKitSansSerifFontFamilyTraditionalHan[] = 310 const char kWebKitSansSerifFontFamilyTraditionalHan[] =
317 "webkit.webprefs.fonts.sansserif.Hant"; 311 "webkit.webprefs.fonts.sansserif.Hant";
318 312
319 // WebKit preferences. 313 // WebKit preferences.
320 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled"; 314 const char kWebKitWebSecurityEnabled[] = "webkit.webprefs.web_security_enabled";
321 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled"; 315 const char kWebKitDomPasteEnabled[] = "webkit.webprefs.dom_paste_enabled";
322 // Deprecated 9/2016.
323 const char kWebKitUsesUniversalDetector[] =
324 "webkit.webprefs.uses_universal_detector";
325 const char kWebKitTextAreasAreResizable[] = 316 const char kWebKitTextAreasAreResizable[] =
326 "webkit.webprefs.text_areas_are_resizable"; 317 "webkit.webprefs.text_areas_are_resizable";
327 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links"; 318 const char kWebkitTabsToLinks[] = "webkit.webprefs.tabs_to_links";
328 const char kWebKitAllowDisplayingInsecureContent[] = 319 const char kWebKitAllowDisplayingInsecureContent[] =
329 "webkit.webprefs.allow_displaying_insecure_content"; 320 "webkit.webprefs.allow_displaying_insecure_content";
330 const char kWebKitAllowRunningInsecureContent[] = 321 const char kWebKitAllowRunningInsecureContent[] =
331 "webkit.webprefs.allow_running_insecure_content"; 322 "webkit.webprefs.allow_running_insecure_content";
332 #if defined(OS_ANDROID) 323 #if defined(OS_ANDROID)
333 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor"; 324 const char kWebKitFontScaleFactor[] = "webkit.webprefs.font_scale_factor";
334 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom"; 325 const char kWebKitForceEnableZoom[] = "webkit.webprefs.force_enable_zoom";
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 901
911 // Boolean pref indicating the End Of Life notification was dismissed by the 902 // Boolean pref indicating the End Of Life notification was dismissed by the
912 // user. 903 // user.
913 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; 904 const char kEolNotificationDismissed[] = "eol_notification_dismissed";
914 #endif // defined(OS_CHROMEOS) 905 #endif // defined(OS_CHROMEOS)
915 906
916 // A boolean pref set to true if a Home button to open the Home pages should be 907 // A boolean pref set to true if a Home button to open the Home pages should be
917 // visible on the toolbar. 908 // visible on the toolbar.
918 const char kShowHomeButton[] = "browser.show_home_button"; 909 const char kShowHomeButton[] = "browser.show_home_button";
919 910
920 // A string value which saves short list of recently user selected encodings
921 // separated with comma punctuation mark.
922 // Deprecated 8/2016.
923 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings";
924
925 // Clear Browsing Data dialog preferences. 911 // Clear Browsing Data dialog preferences.
926 const char kLastClearBrowsingDataTime[] = 912 const char kLastClearBrowsingDataTime[] =
927 "browser.last_clear_browsing_data_time"; 913 "browser.last_clear_browsing_data_time";
928 const char kClearBrowsingDataHistoryNoticeShownTimes[] = 914 const char kClearBrowsingDataHistoryNoticeShownTimes[] =
929 "browser.clear_data.history_notice_shown_times"; 915 "browser.clear_data.history_notice_shown_times";
930 916
931 // Boolean pref to define the default setting for "block offensive words". 917 // Boolean pref to define the default setting for "block offensive words".
932 // The old key value is kept to avoid unnecessary migration code. 918 // The old key value is kept to avoid unnecessary migration code.
933 const char kSpeechRecognitionFilterProfanities[] = 919 const char kSpeechRecognitionFilterProfanities[] =
934 "browser.speechinput_censor_results"; 920 "browser.speechinput_censor_results";
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
2271 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2257 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2272 2258
2273 // A list of origin trial features to disable by policy. 2259 // A list of origin trial features to disable by policy.
2274 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2260 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2275 2261
2276 // Policy that indicates the state of updates for the binary components. 2262 // Policy that indicates the state of updates for the binary components.
2277 const char kComponentUpdatesEnabled[] = 2263 const char kComponentUpdatesEnabled[] =
2278 "component_updates.component_updates_enabled"; 2264 "component_updates.component_updates_enabled";
2279 2265
2280 } // namespace prefs 2266 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698