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_MAC_H_ | 8 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_ |
9 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_ | 9 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_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/string16.h" | 15 #include "base/strings/string16.h" |
16 | 16 |
17 struct SpellCheckResult; | 17 struct SpellCheckResult; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class BrowserMessageFilter; | 20 class BrowserMessageFilter; |
21 } // namespace content | 21 } // namespace content |
22 | 22 |
23 namespace spellcheck_mac { | 23 namespace spellcheck_mac { |
24 | 24 |
25 typedef base::Callback<void( | 25 typedef base::Callback<void( |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 public: | 103 public: |
104 ScopedEnglishLanguageForTest(); | 104 ScopedEnglishLanguageForTest(); |
105 ~ScopedEnglishLanguageForTest(); | 105 ~ScopedEnglishLanguageForTest(); |
106 private: | 106 private: |
107 SpellcheckerStateInternal* state_; | 107 SpellcheckerStateInternal* state_; |
108 }; | 108 }; |
109 | 109 |
110 } // namespace spellcheck_mac | 110 } // namespace spellcheck_mac |
111 | 111 |
112 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_ | 112 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_ |
OLD | NEW |