Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 1156473007: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL:
Patch Set: Fixed nits and presubmit warnings. Created 5 years, 5 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/renderer_context_menu/spellchecker_submenu_observer.h
diff --git a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h
index 23b7e8666943065f5566a62c8fa1492d12cfc283..f4198af249bab6ce957447756dcd229f1fd3e5c6 100644
--- a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h
+++ b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h
@@ -43,7 +43,10 @@ class SpellCheckerSubMenuObserver : public RenderViewContextMenuObserver {
// Hunspell spelling submenu.
// The radio items representing languages available for spellchecking.
int language_group_;
- int language_selected_;
+ // The number of languages currently selected for spellchecking, which are
+ // also the first elements in |languages_|.
+ size_t num_selected_languages_;
+ // A vector of all languages available for spellchecking.
std::vector<std::string> languages_;
#endif // !OS_MACOSX
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/renderer_context_menu/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698