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

Unified Diff: chrome/common/temp_scaffolding_stubs.h

Issue 28053: Add the hunspell project to Chrome.app and get spellchecker compiling for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/chrome.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.h
===================================================================
--- chrome/common/temp_scaffolding_stubs.h (revision 10337)
+++ chrome/common/temp_scaffolding_stubs.h (working copy)
@@ -494,39 +494,6 @@
}
};
-
-// spellchecker.h works on Linux, but it depends on hunspell which isn't
-// built on Mac. Getting it to build on the Mac is apparently hard, so I'll
-// punt this to the Mac team for now.
-#if defined(OS_MACOSX)
-class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> {
- public:
- typedef std::wstring Language;
- typedef std::vector<Language> Languages;
- SpellChecker(const std::wstring& dict_dir,
- const Language& language,
- URLRequestContext* request_context,
- const std::wstring& custom_dictionary_file_name) {}
-
- bool SpellCheckWord(const wchar_t* in_word,
- int in_word_len,
- int* misspelling_start,
- int* misspelling_len,
- std::vector<std::wstring>* optional_suggestions) {
- NOTIMPLEMENTED();
- return true;
- }
- static int GetSpellCheckLanguagesToDisplayInContextMenu(
- Profile* profile,
- Languages* display_languages) {
- NOTIMPLEMENTED();
- return 0;
- }
-};
-#else
-#include "chrome/browser/spellchecker.h"
-#endif
-
class WebAppLauncher {
public:
static void Launch(Profile* profile, const GURL& url) {
« no previous file with comments | « chrome/chrome.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698