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

Unified Diff: chrome/browser/spellchecker_linux.cc

Issue 160565: Adds support for the os x spelling panel to chromium. Users can... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/browser/spellchecker.cc ('k') | chrome/browser/spellchecker_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker_linux.cc
===================================================================
--- chrome/browser/spellchecker_linux.cc (revision 25643)
+++ chrome/browser/spellchecker_linux.cc (working copy)
@@ -28,28 +28,33 @@
return false;
}
-bool SpellCheckerPanelVisible() {
+bool SpellingPanelVisible() {
return false;
}
-void Init() {
-}
+void ShowSpellingPanel(bool show) { }
-void SetLanguage(const std::string& lang_to_set) {
-}
+void UpdateSpellingPanelWithMisspelledWord(const std::wstring& word) { }
-bool CheckSpelling(const std::string& word_to_check) {
+void Init() { }
+
+void SetLanguage(const std::string& lang_to_set) { }
+
+bool CheckSpelling(const std::string& word_to_check, int tag) {
return false;
}
void FillSuggestionList(const std::string& wrong_word,
- std::vector<std::wstring>* optional_suggestions) {
-}
+ std::vector<std::wstring>* optional_suggestions) { }
-void AddWord(const std::wstring& word) {
-}
+void AddWord(const std::wstring& word) { }
-void RemoveWord(const std::wstring& word) {
-}
+void RemoveWord(const std::wstring& word) { }
+int GetDocumentTag() { return 0; }
+
+void IgnoreWord(const std::string& word) { }
+
+void CloseDocumentWithTag(int tag) { }
+
} // namespace SpellCheckerPlatform
« no previous file with comments | « chrome/browser/spellchecker.cc ('k') | chrome/browser/spellchecker_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698