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

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

Issue 8940001: Reverting half the checkins that are suspected of breaking the world. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
===================================================================
--- chrome/browser/resources/options/language_options.js (revision 114396)
+++ chrome/browser/resources/options/language_options.js (working copy)
@@ -93,11 +93,8 @@
$('auto-spell-correction-option').hidden = false;
// Handle spell check enable/disable.
- if (!cr.isMac) {
- Preferences.getInstance().addEventListener(
- this.enableSpellCheckPref,
- this.updateEnableSpellCheck_.bind(this));
- }
+ Preferences.getInstance().addEventListener(this.enableSpellCheckPref,
+ this.updateEnableSpellCheck_.bind(this));
}
// Listen to user clicks on the "Change touch keyboard settings..."
@@ -222,8 +219,7 @@
this.updateSelectedLanguageName_(languageCode);
if (cr.isWindows || cr.isChromeOS)
this.updateUiLanguageButton_(languageCode);
- if (!cr.isMac)
- this.updateSpellCheckLanguageButton_(languageCode);
+ this.updateSpellCheckLanguageButton_(languageCode);
if (cr.isChromeOS)
this.updateInputMethodList_(languageCode);
this.updateLanguageListInAddLanguageOverlay_();

Powered by Google App Engine
This is Rietveld 408576698