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

Unified Diff: chrome/common/extensions/api/language_settings_private.idl

Issue 1373073003: Implement chrome.languageSettingsPrivate custom spell check functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@LanguagePage1EditIndividual
Patch Set: rebase on histogram fixes Created 5 years, 2 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
Index: chrome/common/extensions/api/language_settings_private.idl
diff --git a/chrome/common/extensions/api/language_settings_private.idl b/chrome/common/extensions/api/language_settings_private.idl
index 8b1a795a21a0c31f33064e1c450d651bd4ffe54e..30958c56db0f0f7795f71251f0992f62b9631f36 100644
--- a/chrome/common/extensions/api/language_settings_private.idl
+++ b/chrome/common/extensions/api/language_settings_private.idl
@@ -88,9 +88,15 @@ namespace languageSettingsPrivate {
static void getSpellcheckDictionaryStatuses(
GetSpellcheckDictionaryStatusesCallback callback);
- // Gets the custom spell check words.
+ // Gets the custom spell check words, in sorted order.
static void getSpellcheckWords(GetSpellcheckWordsCallback callback);
+ // Adds a word to the custom dictionary.
+ static void addSpellcheckWord(DOMString word);
+
+ // Removes a word from the custom dictionary.
+ static void removeSpellcheckWord(DOMString word);
+
// Gets the translate target language (in most cases, the display locale).
static void getTranslateTargetLanguage(
GetTranslateTargetLanguageCallback callback);

Powered by Google App Engine
This is Rietveld 408576698