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

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

Issue 517413002: Compile chrome://settings, part 1: remove all warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: s/event/Event/ 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_options.js
diff --git a/chrome/browser/resources/options/language_options.js b/chrome/browser/resources/options/language_options.js
index 889929f3bc1765f341aa1caf94b505ac2eda6368..4e4e00de33b4a3579781c2fd3f46761287fd5797 100644
--- a/chrome/browser/resources/options/language_options.js
+++ b/chrome/browser/resources/options/language_options.js
@@ -84,13 +84,14 @@ cr.define('options', function() {
LanguageOptions.prototype = {
__proto__: Page.prototype,
- /* For recording the prospective language (the next locale after relaunch).
+ /**
+ * For recording the prospective language (the next locale after relaunch).
* @type {?string}
* @private
*/
prospectiveUiLanguageCode_: null,
- /*
+ /**
* Map from language code to spell check dictionary download status for that
* language.
* @type {Array}
@@ -912,7 +913,7 @@ cr.define('options', function() {
* @param {Event} e Change event.
* @private
*/
- updateEnableSpellCheck_: function() {
+ updateEnableSpellCheck_: function(e) {
var value = !$('enable-spell-check').checked;
$('language-options-spell-check-language-button').disabled = value;
if (!cr.IsMac)
@@ -1298,7 +1299,7 @@ cr.define('options', function() {
}
},
- /*
+ /**
* Converts the language code for Translation. There are some differences
* between the language set for Translation and that for Accept-Language.
* @param {string} languageCode The language code like 'fr'.
« no previous file with comments | « chrome/browser/resources/options/language_list.js ('k') | chrome/browser/resources/options/manage_profile_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698