OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // If windows ever gains a platform specific spellchecker, it will be | 5 // If windows ever gains a platform specific spellchecker, it will be |
6 // implemented here. | 6 // implemented here. |
7 | 7 |
8 #include "chrome/browser/spellchecker_platform_engine.h" | 8 #include "chrome/browser/spellchecker_platform_engine.h" |
9 | 9 |
10 #include "chrome/browser/spellchecker_common.h" | |
11 | |
12 namespace SpellCheckerPlatform { | 10 namespace SpellCheckerPlatform { |
13 | 11 |
14 bool SpellCheckerAvailable() { | 12 bool SpellCheckerAvailable() { |
15 // No current version of Windows (as of Summer 2009) has a common spellchecker | 13 // No current version of Windows (as of Summer 2009) has a common spellchecker |
16 // so we'll return false here. | 14 // so we'll return false here. |
17 return false; | 15 return false; |
18 } | 16 } |
19 | 17 |
20 // The following methods are just stubs to keep the linker happy. | 18 // The following methods are just stubs to keep the linker happy. |
21 bool PlatformSupportsLanguage(const std::string& current_language) { | 19 bool PlatformSupportsLanguage(const std::string& current_language) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 51 |
54 void RemoveWord(const string16& word) {} | 52 void RemoveWord(const string16& word) {} |
55 | 53 |
56 int GetDocumentTag() { return 0; } | 54 int GetDocumentTag() { return 0; } |
57 | 55 |
58 void IgnoreWord(const string16& word) {} | 56 void IgnoreWord(const string16& word) {} |
59 | 57 |
60 void CloseDocumentWithTag(int tag) {} | 58 void CloseDocumentWithTag(int tag) {} |
61 | 59 |
62 } // namespace SpellCheckerPlatform | 60 } // namespace SpellCheckerPlatform |
OLD | NEW |