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

Unified Diff: chrome/browser/spellchecker/spellchecker_win.cc

Issue 8890022: Remove Hunspell on OS X - step 2 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix rename in unittest Created 9 years 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/spellchecker/spellchecker_win.cc
diff --git a/chrome/browser/spellchecker/spellchecker_win.cc b/chrome/browser/spellchecker/spellchecker_win.cc
deleted file mode 100644
index e51ce0716f6e1d3b614bd5273d1138f1c4f149f9..0000000000000000000000000000000000000000
--- a/chrome/browser/spellchecker/spellchecker_win.cc
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// If windows ever gains a platform specific spellchecker, it will be
-// implemented here.
-
-#include "chrome/browser/spellchecker/spellchecker_platform_engine.h"
-
-namespace SpellCheckerPlatform {
-
-bool SpellCheckerAvailable() {
- // No current version of Windows (as of Summer 2009) has a common spellchecker
- // so we'll return false here.
- return false;
-}
-
-// The following methods are just stubs to keep the linker happy.
-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 SpellingPanelVisible() {
- return false;
-}
-
-void ShowSpellingPanel(bool show) {}
-
-void UpdateSpellingPanelWithMisspelledWord(const std::wstring& word) {}
-
-void Init() {}
-
-void SetLanguage(const std::string& lang_to_set) {}
-
-bool CheckSpelling(const string16& word_to_check, int tag) {
- return false;
-}
-
-void FillSuggestionList(const string16& wrong_word,
- std::vector<string16>* optional_suggestions) {}
-
-void AddWord(const string16& word) {}
-
-void RemoveWord(const string16& word) {}
-
-int GetDocumentTag() { return 0; }
-
-void IgnoreWord(const string16& word) {}
-
-void CloseDocumentWithTag(int tag) {}
-
-void RequestTextCheck(int route_id,
- int identifier,
- int document_tag,
- const string16& text,
- BrowserMessageFilter* destination) {}
-
-} // namespace SpellCheckerPlatform

Powered by Google App Engine
This is Rietveld 408576698