OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This file defines the interface that any platform-specific spellchecker | 5 // This file defines the interface that any platform-specific spellchecker |
6 // needs to implement in order to be used by the browser. | 6 // needs to implement in order to be used by the browser. |
7 | 7 |
8 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_H_ | 8 #ifndef COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECK_PLATFORM_H_ |
9 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_H_ | 9 #define COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECK_PLATFORM_H_ |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 | 16 |
17 struct SpellCheckResult; | 17 struct SpellCheckResult; |
18 | 18 |
19 namespace content { | 19 namespace content { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 class ScopedEnglishLanguageForTest { | 105 class ScopedEnglishLanguageForTest { |
106 public: | 106 public: |
107 ScopedEnglishLanguageForTest(); | 107 ScopedEnglishLanguageForTest(); |
108 ~ScopedEnglishLanguageForTest(); | 108 ~ScopedEnglishLanguageForTest(); |
109 private: | 109 private: |
110 SpellcheckerStateInternal* state_; | 110 SpellcheckerStateInternal* state_; |
111 }; | 111 }; |
112 | 112 |
113 } // namespace spellcheck_platform | 113 } // namespace spellcheck_platform |
114 | 114 |
115 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_H_ | 115 #endif // COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECK_PLATFORM_H_ |
OLD | NEW |