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

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

Issue 2159283003: [WIP][DO NOT LAND] Componentize spellcheck Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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') | chrome/common/spellcheck_bdict_language.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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 // separated with comma punctuation mark. 917 // separated with comma punctuation mark.
918 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; 918 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings";
919 919
920 // Clear Browsing Data dialog preferences. 920 // Clear Browsing Data dialog preferences.
921 const char kLastClearBrowsingDataTime[] = 921 const char kLastClearBrowsingDataTime[] =
922 "browser.last_clear_browsing_data_time"; 922 "browser.last_clear_browsing_data_time";
923 const char kClearBrowsingDataHistoryNoticeShownTimes[] = 923 const char kClearBrowsingDataHistoryNoticeShownTimes[] =
924 "browser.clear_data.history_notice_shown_times"; 924 "browser.clear_data.history_notice_shown_times";
925 925
926 // Boolean pref to define the default values for using spellchecker. 926 // Boolean pref to define the default values for using spellchecker.
927 const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking"; 927 //const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking";
928 928
929 // Boolean pref to define the default setting for "block offensive words". 929 // Boolean pref to define the default setting for "block offensive words".
930 // The old key value is kept to avoid unnecessary migration code. 930 // The old key value is kept to avoid unnecessary migration code.
931 const char kSpeechRecognitionFilterProfanities[] = 931 const char kSpeechRecognitionFilterProfanities[] =
932 "browser.speechinput_censor_results"; 932 "browser.speechinput_censor_results";
933 933
934 // Boolean controlling whether history saving is disabled. 934 // Boolean controlling whether history saving is disabled.
935 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 935 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
936 936
937 // Boolean controlling whether deleting browsing and download history is 937 // Boolean controlling whether deleting browsing and download history is
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1413 1413
1414 // Map of default tasks, associated by file suffix. 1414 // Map of default tasks, associated by file suffix.
1415 const char kDefaultTasksBySuffix[] = 1415 const char kDefaultTasksBySuffix[] =
1416 "filebrowser.tasks.default_by_suffix"; 1416 "filebrowser.tasks.default_by_suffix";
1417 1417
1418 // Extensions which should be opened upon completion. 1418 // Extensions which should be opened upon completion.
1419 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; 1419 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open";
1420 1420
1421 // String which represents the dictionary name for our spell-checker. 1421 // String which represents the dictionary name for our spell-checker.
1422 // This is an old preference that is being migrated to kSpellCheckDictionaries. 1422 // This is an old preference that is being migrated to kSpellCheckDictionaries.
1423 const char kSpellCheckDictionary[] = "spellcheck.dictionary"; 1423 //const char kSpellCheckDictionary[] = "spellcheck.dictionary";
1424 1424
1425 // List of strings representing the dictionary names for our spell-checker. 1425 // List of strings representing the dictionary names for our spell-checker.
1426 const char kSpellCheckDictionaries[] = "spellcheck.dictionaries"; 1426 //const char kSpellCheckDictionaries[] = "spellcheck.dictionaries";
1427 1427
1428 // String which represents whether we use the spelling service. 1428 // String which represents whether we use the spelling service.
1429 const char kSpellCheckUseSpellingService[] = "spellcheck.use_spelling_service"; 1429 //const char kSpellCheckUseSpellingService[] = "spellcheck.use_spelling_service" ;
1430 1430
1431 // Dictionary of schemes used by the external protocol handler. 1431 // Dictionary of schemes used by the external protocol handler.
1432 // The value is true if the scheme must be ignored. 1432 // The value is true if the scheme must be ignored.
1433 const char kExcludedSchemes[] = "protocol_handler.excluded_schemes"; 1433 const char kExcludedSchemes[] = "protocol_handler.excluded_schemes";
1434 1434
1435 // Integer that specifies the index of the tab the user was on when they 1435 // Integer that specifies the index of the tab the user was on when they
1436 // last visited the options window. 1436 // last visited the options window.
1437 const char kOptionsWindowLastTabIndex[] = "options_window.last_tab_index"; 1437 const char kOptionsWindowLastTabIndex[] = "options_window.last_tab_index";
1438 1438
1439 // Integer that specifies if the first run bubble should be shown. 1439 // Integer that specifies if the first run bubble should be shown.
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
2247 #endif 2247 #endif
2248 2248
2249 // 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
2250 // trial token signatures. 2250 // trial token signatures.
2251 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2251 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2252 2252
2253 // A list of origin trial features to disable by policy. 2253 // A list of origin trial features to disable by policy.
2254 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2254 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2255 2255
2256 } // namespace prefs 2256 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/common/spellcheck_bdict_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698