OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BROWSER_SPELLCHECKER_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_H_ |
6 #define CHROME_BROWSER_SPELLCHECKER_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "app/l10n_util.h" |
10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
11 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/profile.h" | 13 #include "chrome/browser/profile.h" |
13 #include "chrome/browser/spellcheck_worditerator.h" | 14 #include "chrome/browser/spellcheck_worditerator.h" |
14 #include "chrome/common/l10n_util.h" | |
15 #include "chrome/common/pref_names.h" | 15 #include "chrome/common/pref_names.h" |
16 #include "chrome/common/pref_member.h" | 16 #include "chrome/common/pref_member.h" |
17 | 17 |
18 #include "base/task.h" | 18 #include "base/task.h" |
19 #include "unicode/uscript.h" | 19 #include "unicode/uscript.h" |
20 | 20 |
21 class FilePath; | 21 class FilePath; |
22 class Hunspell; | 22 class Hunspell; |
23 class PrefService; | 23 class PrefService; |
24 class Profile; | 24 class Profile; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 // Used for generating callbacks to spellchecker, since spellchecker is a | 181 // Used for generating callbacks to spellchecker, since spellchecker is a |
182 // non-reference counted object. The callback is generated by generating tasks | 182 // non-reference counted object. The callback is generated by generating tasks |
183 // using NewRunableMethod on these objects. | 183 // using NewRunableMethod on these objects. |
184 ScopedRunnableMethodFactory<SpellChecker> dic_download_state_changer_factory_; | 184 ScopedRunnableMethodFactory<SpellChecker> dic_download_state_changer_factory_; |
185 | 185 |
186 DISALLOW_COPY_AND_ASSIGN(SpellChecker); | 186 DISALLOW_COPY_AND_ASSIGN(SpellChecker); |
187 }; | 187 }; |
188 | 188 |
189 #endif // #ifndef CHROME_BROWSER_SPELLCHECKER_H_ | 189 #endif // #ifndef CHROME_BROWSER_SPELLCHECKER_H_ |
OLD | NEW |