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_HUNSPELL_ENGINE_H_ | 5 #ifndef CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_ |
6 #define CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_ | 6 #define CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/common/spellcheck_common.h" | 14 #include "chrome/common/spellcheck_common.h" |
15 #include "chrome/renderer/spellchecker/spelling_engine.h" | 15 #include "chrome/renderer/spellchecker/spelling_engine.h" |
16 | 16 |
17 class Hunspell; | 17 class Hunspell; |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class MemoryMappedFile; | 20 class MemoryMappedFile; |
21 } | 21 } |
22 | 22 |
(...skipping 27 matching lines...) Expand all Loading... |
50 // The value indicates whether we should request a | 50 // The value indicates whether we should request a |
51 // dictionary from the browser when the render view asks us to check the | 51 // dictionary from the browser when the render view asks us to check the |
52 // spelling of a word. | 52 // spelling of a word. |
53 bool initialized_; | 53 bool initialized_; |
54 | 54 |
55 // This flags is true if we have requested dictionary. | 55 // This flags is true if we have requested dictionary. |
56 bool dictionary_requested_; | 56 bool dictionary_requested_; |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_ | 59 #endif // CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_ |
OLD | NEW |