OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ | 5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ |
6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ | 6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "chrome/renderer/spellchecker/custom_dictionary_engine.h" | 19 #include "components/spellcheck/renderer/custom_dictionary_engine.h" |
20 #include "content/public/renderer/render_thread_observer.h" | 20 #include "content/public/renderer/render_thread_observer.h" |
21 | 21 |
22 struct SpellCheckBDictLanguage; | 22 struct SpellCheckBDictLanguage; |
23 class SpellcheckLanguage; | 23 class SpellcheckLanguage; |
24 struct SpellCheckResult; | 24 struct SpellCheckResult; |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 class WebTextCheckingCompletion; | 27 class WebTextCheckingCompletion; |
28 struct WebTextCheckingResult; | 28 struct WebTextCheckingResult; |
29 template <typename T> class WebVector; | 29 template <typename T> class WebVector; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // Custom dictionary spelling engine. | 155 // Custom dictionary spelling engine. |
156 CustomDictionaryEngine custom_dictionary_; | 156 CustomDictionaryEngine custom_dictionary_; |
157 | 157 |
158 // Remember state for spellchecking. | 158 // Remember state for spellchecking. |
159 bool spellcheck_enabled_; | 159 bool spellcheck_enabled_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(SpellCheck); | 161 DISALLOW_COPY_AND_ASSIGN(SpellCheck); |
162 }; | 162 }; |
163 | 163 |
164 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ | 164 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ |
OLD | NEW |