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

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

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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/chrome_tests_unit.gypi ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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 220 // locale, it's initialized from the corresponding string resource that is
221 // stored in non-translatable part of the resource bundle. 221 // stored in non-translatable part of the resource bundle.
222 // Deprecated 8/2016.
222 const char kStaticEncodings[] = "intl.static_encodings"; 223 const char kStaticEncodings[] = "intl.static_encodings";
223 224
224 // If these change, the corresponding enums in the extension API 225 // If these change, the corresponding enums in the extension API
225 // experimental.fontSettings.json must also change. 226 // experimental.fontSettings.json must also change.
226 const char* const kWebKitScriptsForFontFamilyMaps[] = { 227 const char* const kWebKitScriptsForFontFamilyMaps[] = {
227 #define EXPAND_SCRIPT_FONT(x, script_name) script_name , 228 #define EXPAND_SCRIPT_FONT(x, script_name) script_name ,
228 #include "chrome/common/pref_font_script_names-inl.h" 229 #include "chrome/common/pref_font_script_names-inl.h"
229 ALL_FONT_SCRIPTS("unused param") 230 ALL_FONT_SCRIPTS("unused param")
230 #undef EXPAND_SCRIPT_FONT 231 #undef EXPAND_SCRIPT_FONT
231 }; 232 };
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 // user. 911 // user.
911 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; 912 const char kEolNotificationDismissed[] = "eol_notification_dismissed";
912 #endif // defined(OS_CHROMEOS) 913 #endif // defined(OS_CHROMEOS)
913 914
914 // A boolean pref set to true if a Home button to open the Home pages should be 915 // A boolean pref set to true if a Home button to open the Home pages should be
915 // visible on the toolbar. 916 // visible on the toolbar.
916 const char kShowHomeButton[] = "browser.show_home_button"; 917 const char kShowHomeButton[] = "browser.show_home_button";
917 918
918 // A string value which saves short list of recently user selected encodings 919 // A string value which saves short list of recently user selected encodings
919 // separated with comma punctuation mark. 920 // separated with comma punctuation mark.
921 // Deprecated 8/2016.
920 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; 922 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings";
921 923
922 // Clear Browsing Data dialog preferences. 924 // Clear Browsing Data dialog preferences.
923 const char kLastClearBrowsingDataTime[] = 925 const char kLastClearBrowsingDataTime[] =
924 "browser.last_clear_browsing_data_time"; 926 "browser.last_clear_browsing_data_time";
925 const char kClearBrowsingDataHistoryNoticeShownTimes[] = 927 const char kClearBrowsingDataHistoryNoticeShownTimes[] =
926 "browser.clear_data.history_notice_shown_times"; 928 "browser.clear_data.history_notice_shown_times";
927 929
928 // Boolean pref to define the default setting for "block offensive words". 930 // Boolean pref to define the default setting for "block offensive words".
929 // The old key value is kept to avoid unnecessary migration code. 931 // The old key value is kept to avoid unnecessary migration code.
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2267 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2266 2268
2267 // A list of origin trial features to disable by policy. 2269 // A list of origin trial features to disable by policy.
2268 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2270 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2269 2271
2270 // Policy that indicates the state of updates for the binary components. 2272 // Policy that indicates the state of updates for the binary components.
2271 const char kComponentUpdatesEnabled[] = 2273 const char kComponentUpdatesEnabled[] =
2272 "component_updates.component_updates_enabled"; 2274 "component_updates.component_updates_enabled";
2273 2275
2274 } // namespace prefs 2276 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698