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

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

Issue 654653002: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 5 years, 10 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..321f4442f6a55d4082f2be5ce78e1e3667701c31 100644
--- a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h
+++ b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLCHECKER_SUBMENU_OBSERVER_H_
#define CHROME_BROWSER_RENDERER_CONTEXT_MENU_SPELLCHECKER_SUBMENU_OBSERVER_H_
+#include <set>
#include <string>
#include <vector>
@@ -43,7 +44,7 @@ class SpellCheckerSubMenuObserver : public RenderViewContextMenuObserver {
// Hunspell spelling submenu.
// The radio items representing languages available for spellchecking.
int language_group_;
- int language_selected_;
+ std::set<int> spellcheck_languages_;
std::vector<std::string> languages_;
#endif // !OS_MACOSX

Powered by Google App Engine
This is Rietveld 408576698