| 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/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 Loading... |
| 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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 // user. | 904 // user. |
| 904 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; | 905 const char kEolNotificationDismissed[] = "eol_notification_dismissed"; |
| 905 #endif // defined(OS_CHROMEOS) | 906 #endif // defined(OS_CHROMEOS) |
| 906 | 907 |
| 907 // A boolean pref set to true if a Home button to open the Home pages should be | 908 // A boolean pref set to true if a Home button to open the Home pages should be |
| 908 // visible on the toolbar. | 909 // visible on the toolbar. |
| 909 const char kShowHomeButton[] = "browser.show_home_button"; | 910 const char kShowHomeButton[] = "browser.show_home_button"; |
| 910 | 911 |
| 911 // A string value which saves short list of recently user selected encodings | 912 // A string value which saves short list of recently user selected encodings |
| 912 // separated with comma punctuation mark. | 913 // separated with comma punctuation mark. |
| 914 // Deprecated 8/2016. |
| 913 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; | 915 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; |
| 914 | 916 |
| 915 // Clear Browsing Data dialog preferences. | 917 // Clear Browsing Data dialog preferences. |
| 916 const char kLastClearBrowsingDataTime[] = | 918 const char kLastClearBrowsingDataTime[] = |
| 917 "browser.last_clear_browsing_data_time"; | 919 "browser.last_clear_browsing_data_time"; |
| 918 const char kClearBrowsingDataHistoryNoticeShownTimes[] = | 920 const char kClearBrowsingDataHistoryNoticeShownTimes[] = |
| 919 "browser.clear_data.history_notice_shown_times"; | 921 "browser.clear_data.history_notice_shown_times"; |
| 920 | 922 |
| 921 // Boolean pref to define the default setting for "block offensive words". | 923 // Boolean pref to define the default setting for "block offensive words". |
| 922 // The old key value is kept to avoid unnecessary migration code. | 924 // The old key value is kept to avoid unnecessary migration code. |
| (...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2247 #endif // defined(ENABLE_MEDIA_ROUTER) | 2249 #endif // defined(ENABLE_MEDIA_ROUTER) |
| 2248 | 2250 |
| 2249 // The base64-encoded representation of the public key to use to validate origin | 2251 // The base64-encoded representation of the public key to use to validate origin |
| 2250 // trial token signatures. | 2252 // trial token signatures. |
| 2251 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2253 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
| 2252 | 2254 |
| 2253 // A list of origin trial features to disable by policy. | 2255 // A list of origin trial features to disable by policy. |
| 2254 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2256 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
| 2255 | 2257 |
| 2256 } // namespace prefs | 2258 } // namespace prefs |
| OLD | NEW |