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 2244083002: Componentize spellcheck [4]: spellcheck/browser and android java-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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
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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
2260 #endif // defined(ENABLE_MEDIA_ROUTER) 2247 #endif // defined(ENABLE_MEDIA_ROUTER)
2261 2248
2262 // The base64-encoded representation of the public key to use to validate origin 2249 // The base64-encoded representation of the public key to use to validate origin
2263 // trial token signatures. 2250 // trial token signatures.
2264 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2251 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2265 2252
2266 // A list of origin trial features to disable by policy. 2253 // A list of origin trial features to disable by policy.
2267 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2254 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2268 2255
2269 } // namespace prefs 2256 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698