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

Unified Diff: chrome/browser/tab_contents/spellchecker_submenu_observer.h

Issue 10548022: Synchronize the check status of the "Check Spelling While Typing" item. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/tab_contents/spellchecker_submenu_observer.h
===================================================================
--- chrome/browser/tab_contents/spellchecker_submenu_observer.h (revision 144063)
+++ chrome/browser/tab_contents/spellchecker_submenu_observer.h (working copy)
@@ -40,16 +40,8 @@
// submenu and add it to the parent menu.
ui::SimpleMenuModel submenu_model_;
-#if defined(OS_MACOSX)
- // On OS X we use the Cocoa spellchecker and try to match the native context
- // menu.
- bool check_spelling_while_typing_;
-#else
+#if !defined(OS_MACOSX)
// Hunspell spelling submenu.
-
- // Whether spellchecking is enabled in the focused element or not.
- bool spellcheck_enabled_;
-
// The radio items representing languages available for spellchecking.
int language_group_;
int language_selected_;

Powered by Google App Engine
This is Rietveld 408576698