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 #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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "app/l10n_util.h" | |
14 #include "base/platform_file.h" | 13 #include "base/platform_file.h" |
| 14 #include "base/scoped_ptr.h" |
15 #include "base/string16.h" | 15 #include "base/string16.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" | 17 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" |
18 #include "unicode/uscript.h" | 18 #include "unicode/uscript.h" |
19 | 19 |
20 class Hunspell; | 20 class Hunspell; |
21 | 21 |
22 namespace file_util { | 22 namespace file_util { |
23 class MemoryMappedFile; | 23 class MemoryMappedFile; |
24 } | 24 } |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // This flags whether we have ever been initialized, or have asked the browser | 118 // This flags whether we have ever been initialized, or have asked the browser |
119 // for a dictionary. The value indicates whether we should request a | 119 // for a dictionary. The value indicates whether we should request a |
120 // dictionary from the browser when the render view asks us to check the | 120 // dictionary from the browser when the render view asks us to check the |
121 // spelling of a word. | 121 // spelling of a word. |
122 bool initialized_; | 122 bool initialized_; |
123 | 123 |
124 DISALLOW_COPY_AND_ASSIGN(SpellCheck); | 124 DISALLOW_COPY_AND_ASSIGN(SpellCheck); |
125 }; | 125 }; |
126 | 126 |
127 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ | 127 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ |
OLD | NEW |