Index: chrome/browser/resources/options/language_dictionary_overlay.js |
diff --git a/chrome/browser/resources/options/language_dictionary_overlay.js b/chrome/browser/resources/options/language_dictionary_overlay.js |
index 87dcf77af8a97f22c9a52ead1903a50c88a83aed..c71542312096cc133bd892f1b0cc49dfd32f10bc 100644 |
--- a/chrome/browser/resources/options/language_dictionary_overlay.js |
+++ b/chrome/browser/resources/options/language_dictionary_overlay.js |
@@ -97,6 +97,11 @@ cr.define('options', function() { |
EditDictionaryOverlay.getInstance().wordList_.setWordList(entries); |
}; |
+ EditDictionaryOverlay.updateWords = function(add_words, remove_words) { |
+ EditDictionaryOverlay.getInstance().wordList_.addWords(add_words); |
+ EditDictionaryOverlay.getInstance().wordList_.removeWords(remove_words); |
+ }; |
+ |
EditDictionaryOverlay.getWordListForTesting = function() { |
return EditDictionaryOverlay.getInstance().wordList_; |
}; |