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

Unified Diff: chrome/browser/resources/options/language_dictionary_overlay_word_list.js

Issue 559423003: Compile chrome://settings, part 7. 33 errors left (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@H_options_errors_5
Patch Set: rebase Created 6 years, 3 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/browser/resources/options/language_dictionary_overlay_word_list.js
diff --git a/chrome/browser/resources/options/language_dictionary_overlay_word_list.js b/chrome/browser/resources/options/language_dictionary_overlay_word_list.js
index ceccb1c9c3986b3f198bb4df047e391cee654d28..c16f34e9fc2cac33ff903f887b984d457b125b1b 100644
--- a/chrome/browser/resources/options/language_dictionary_overlay_word_list.js
+++ b/chrome/browser/resources/options/language_dictionary_overlay_word_list.js
@@ -77,7 +77,7 @@ cr.define('options.dictionary_words', function() {
/**
* A list of words in the dictionary.
* @constructor
- * @extends {cr.ui.InlineEditableItemList}
+ * @extends {options.InlineEditableItemList}
*/
var DictionaryWordsList = cr.ui.define('list');
@@ -86,7 +86,7 @@ cr.define('options.dictionary_words', function() {
/**
* The function to notify that the word list has changed.
- * @type {function()}
+ * @type {?Function}
*/
onWordListChanged: null,
@@ -204,7 +204,10 @@ cr.define('options.dictionary_words', function() {
return this.dataModel.length < 2;
},
- /** @override */
+ /**
+ * @override
+ * @param {string} dictionaryWord
+ */
createItem: function(dictionaryWord) {
return new DictionaryWordsListItem(
dictionaryWord,
« no previous file with comments | « chrome/browser/resources/options/language_dictionary_overlay.js ('k') | chrome/browser/resources/options/language_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698