summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker_win.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 15:06:48 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 15:06:48 +0000
commitdba6d2c192dcbe1bcede9c7992e6b1e552faa2b8 (patch)
tree6e9f87df55fb585777af1081b38414b3e2c9da1f /chrome/browser/spellchecker_win.cc
parent0329a07182f593bcbb9ba29f97b89eb64359b18b (diff)
downloadchromium_src-dba6d2c192dcbe1bcede9c7992e6b1e552faa2b8.zip
chromium_src-dba6d2c192dcbe1bcede9c7992e6b1e552faa2b8.tar.gz
chromium_src-dba6d2c192dcbe1bcede9c7992e6b1e552faa2b8.tar.bz2
Adds languages supported by the platform spellchecker to the right
click menu. Also includes a couple of methods which will be needed once support for the spelling panel is finished. Patch from Paul Wicks (pwicks86@gmail.com) BUG=NONE TEST=Context menu on the mac should show and allow switching between languages for the spellchecker git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker_win.cc')
-rw-r--r--chrome/browser/spellchecker_win.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/spellchecker_win.cc b/chrome/browser/spellchecker_win.cc
index d553b02..73db800 100644
--- a/chrome/browser/spellchecker_win.cc
+++ b/chrome/browser/spellchecker_win.cc
@@ -20,6 +20,18 @@ bool PlatformSupportsLanguage(const std::string& current_language) {
return false;
}
+void GetAvailableLanguages(std::vector<std::string>* spellcheck_languages) {
+ spellcheck_languages->clear();
+}
+
+bool SpellCheckerProvidesPanel() {
+ return false;
+}
+
+bool SpellCheckerPanelVisible() {
+ return false;
+}
+
void Init() {
}