Chromium Code Reviews| Index: chrome/browser/spellchecker/spellcheck_platform_android.cc |
| diff --git a/chrome/browser/spellchecker/spellcheck_platform_android.cc b/chrome/browser/spellchecker/spellcheck_platform_android.cc |
| index a0c338f66d0d6960372ae83adc6df73a78de22ab..a73c7bcb6b3bbe2d6401097bde648c184101a397 100644 |
| --- a/chrome/browser/spellchecker/spellcheck_platform_android.cc |
| +++ b/chrome/browser/spellchecker/spellcheck_platform_android.cc |
| @@ -5,8 +5,6 @@ |
| #include "chrome/browser/spellchecker/spellcheck_platform.h" |
| #include "base/callback.h" |
| -#include "base/command_line.h" |
| -#include "chrome/common/chrome_switches.h" |
| namespace spellcheck_platform { |
| @@ -14,8 +12,7 @@ void GetAvailableLanguages(std::vector<std::string>* spellcheck_languages) { |
| } |
| bool SpellCheckerAvailable() { |
| - return base::CommandLine::ForCurrentProcess()->HasSwitch( |
| - switches::kEnableAndroidSpellChecker); |
| + return true; |
|
groby-ooo-7-16
2015/08/06 22:10:08
Wrong base patchset?
dylanking
2015/08/07 03:33:54
We've decided to move a lot of the functionality t
|
| } |
| bool SpellCheckerProvidesPanel() { |
| @@ -40,7 +37,7 @@ void SetLanguage(const std::string& lang_to_set) { |
| } |
| bool CheckSpelling(const base::string16& word_to_check, int tag) { |
| - return true; |
| + return true; |
| } |
| void FillSuggestionList(const base::string16& wrong_word, |
| @@ -66,7 +63,6 @@ void CloseDocumentWithTag(int tag) { |
| void RequestTextCheck(int document_tag, |
| const base::string16& text, |
| TextCheckCompleteCallback callback) { |
| - |
| } |
| } // namespace spellcheck_platform |