| 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 // A string value which saves short list of recently user selected encodings | 911 // A string value which saves short list of recently user selected encodings |
| 912 // separated with comma punctuation mark. | 912 // separated with comma punctuation mark. |
| 913 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; | 913 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; |
| 914 | 914 |
| 915 // Clear Browsing Data dialog preferences. | 915 // Clear Browsing Data dialog preferences. |
| 916 const char kLastClearBrowsingDataTime[] = | 916 const char kLastClearBrowsingDataTime[] = |
| 917 "browser.last_clear_browsing_data_time"; | 917 "browser.last_clear_browsing_data_time"; |
| 918 const char kClearBrowsingDataHistoryNoticeShownTimes[] = | 918 const char kClearBrowsingDataHistoryNoticeShownTimes[] = |
| 919 "browser.clear_data.history_notice_shown_times"; | 919 "browser.clear_data.history_notice_shown_times"; |
| 920 | 920 |
| 921 // Boolean pref to define the default values for using spellchecker. | |
| 922 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking"; | |
| 923 | |
| 924 // Boolean pref to define the default setting for "block offensive words". | 921 // Boolean pref to define the default setting for "block offensive words". |
| 925 // The old key value is kept to avoid unnecessary migration code. | 922 // The old key value is kept to avoid unnecessary migration code. |
| 926 const char kSpeechRecognitionFilterProfanities[] = | 923 const char kSpeechRecognitionFilterProfanities[] = |
| 927 "browser.speechinput_censor_results"; | 924 "browser.speechinput_censor_results"; |
| 928 | 925 |
| 929 // Boolean controlling whether history saving is disabled. | 926 // Boolean controlling whether history saving is disabled. |
| 930 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 927 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
| 931 | 928 |
| 932 // Boolean controlling whether deleting browsing and download history is | 929 // Boolean controlling whether deleting browsing and download history is |
| 933 // permitted. | 930 // permitted. |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 const char kDefaultTasksByMimeType[] = | 1419 const char kDefaultTasksByMimeType[] = |
| 1423 "filebrowser.tasks.default_by_mime_type"; | 1420 "filebrowser.tasks.default_by_mime_type"; |
| 1424 | 1421 |
| 1425 // Map of default tasks, associated by file suffix. | 1422 // Map of default tasks, associated by file suffix. |
| 1426 const char kDefaultTasksBySuffix[] = | 1423 const char kDefaultTasksBySuffix[] = |
| 1427 "filebrowser.tasks.default_by_suffix"; | 1424 "filebrowser.tasks.default_by_suffix"; |
| 1428 | 1425 |
| 1429 // Extensions which should be opened upon completion. | 1426 // Extensions which should be opened upon completion. |
| 1430 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; | 1427 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; |
| 1431 | 1428 |
| 1432 // String which represents the dictionary name for our spell-checker. | |
| 1433 // This is an old preference that is being migrated to kSpellCheckDictionaries. | |
| 1434 const char kSpellCheckDictionary[] = "spellcheck.dictionary"; | |
| 1435 | |
| 1436 // List of strings representing the dictionary names for our spell-checker. | |
| 1437 const char kSpellCheckDictionaries[] = "spellcheck.dictionaries"; | |
| 1438 | |
| 1439 // String which represents whether we use the spelling service. | |
| 1440 const char kSpellCheckUseSpellingService[] = "spellcheck.use_spelling_service"; | |
| 1441 | |
| 1442 // Dictionary of schemes used by the external protocol handler. | 1429 // Dictionary of schemes used by the external protocol handler. |
| 1443 // The value is true if the scheme must be ignored. | 1430 // The value is true if the scheme must be ignored. |
| 1444 const char kExcludedSchemes[] = "protocol_handler.excluded_schemes"; | 1431 const char kExcludedSchemes[] = "protocol_handler.excluded_schemes"; |
| 1445 | 1432 |
| 1446 // Integer that specifies the index of the tab the user was on when they | 1433 // Integer that specifies the index of the tab the user was on when they |
| 1447 // last visited the options window. | 1434 // last visited the options window. |
| 1448 const char kOptionsWindowLastTabIndex[] = "options_window.last_tab_index"; | 1435 const char kOptionsWindowLastTabIndex[] = "options_window.last_tab_index"; |
| 1449 | 1436 |
| 1450 // Integer that specifies if the first run bubble should be shown. | 1437 // Integer that specifies if the first run bubble should be shown. |
| 1451 // This preference is only registered by the first-run procedure. | 1438 // This preference is only registered by the first-run procedure. |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2254 #endif | 2241 #endif |
| 2255 | 2242 |
| 2256 // The base64-encoded representation of the public key to use to validate origin | 2243 // The base64-encoded representation of the public key to use to validate origin |
| 2257 // trial token signatures. | 2244 // trial token signatures. |
| 2258 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2245 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
| 2259 | 2246 |
| 2260 // A list of origin trial features to disable by policy. | 2247 // A list of origin trial features to disable by policy. |
| 2261 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2248 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
| 2262 | 2249 |
| 2263 } // namespace prefs | 2250 } // namespace prefs |
| OLD | NEW |