| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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> | |
| 10 #include <string> | 9 #include <string> |
| 11 #include <vector> | 10 #include <vector> |
| 12 | 11 |
| 13 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
| 14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 15 #include "base/string16.h" | 14 #include "base/string16.h" |
| 16 #include "base/time.h" | 15 #include "base/time.h" |
| 17 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" | 16 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" |
| 18 #include "unicode/uscript.h" | 17 #include "unicode/uscript.h" |
| 19 | 18 |
| (...skipping 98 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 | 117 // 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 | 118 // 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 | 119 // dictionary from the browser when the render view asks us to check the |
| 121 // spelling of a word. | 120 // spelling of a word. |
| 122 bool initialized_; | 121 bool initialized_; |
| 123 | 122 |
| 124 DISALLOW_COPY_AND_ASSIGN(SpellCheck); | 123 DISALLOW_COPY_AND_ASSIGN(SpellCheck); |
| 125 }; | 124 }; |
| 126 | 125 |
| 127 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ | 126 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ |
| OLD | NEW |