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

Unified Diff: components/spellcheck/browser/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/spellcheck/browser/pref_names.h ('k') | components/spellcheck/browser/spellcheck_action.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/browser/pref_names.cc
diff --git a/components/spellcheck/browser/pref_names.cc b/components/spellcheck/browser/pref_names.cc
new file mode 100644
index 0000000000000000000000000000000000000000..50d614df0be614b9743328257a67fc9c6c371d79
--- /dev/null
+++ b/components/spellcheck/browser/pref_names.cc
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/spellcheck/browser/pref_names.h"
+
+namespace spellcheck {
+namespace prefs {
+
+// Boolean pref to define the default values for using spellchecker.
+const char kEnableContinuousSpellcheck[] = "browser.enable_spellchecking";
+
+// String which represents the dictionary name for our spell-checker.
+// This is an old preference that is being migrated to kSpellCheckDictionaries.
+const char kSpellCheckDictionary[] = "spellcheck.dictionary";
+
+// List of strings representing the dictionary names for our spell-checker.
+const char kSpellCheckDictionaries[] = "spellcheck.dictionaries";
+
+// String which represents whether we use the spelling service.
+const char kSpellCheckUseSpellingService[] = "spellcheck.use_spelling_service";
+
+} // namespace prefs
+} // namespace spellcheck
« no previous file with comments | « components/spellcheck/browser/pref_names.h ('k') | components/spellcheck/browser/spellcheck_action.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698