| 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 <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/platform_file.h" | 15 #include "base/platform_file.h" |
| 16 #include "base/string16.h" | 16 #include "base/string16.h" |
| 17 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" | 17 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" |
| 18 #include "content/public/renderer/render_process_observer.h" | 18 #include "content/public/renderer/render_process_observer.h" |
| 19 #include "ipc/ipc_platform_file.h" | 19 #include "ipc/ipc_platform_file.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
| 21 #include "unicode/uscript.h" | 21 #include "third_party/icu/public/common/unicode/uscript.h" |
| 22 | 22 |
| 23 class SpellingEngine; | 23 class SpellingEngine; |
| 24 struct SpellCheckResult; | 24 struct SpellCheckResult; |
| 25 | 25 |
| 26 namespace file_util { | 26 namespace file_util { |
| 27 class MemoryMappedFile; | 27 class MemoryMappedFile; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace WebKit { | 30 namespace WebKit { |
| 31 class WebTextCheckingCompletion; | 31 class WebTextCheckingCompletion; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 // hunspell. (When WebKit sends two or more requests, we cancel the previous | 181 // hunspell. (When WebKit sends two or more requests, we cancel the previous |
| 182 // requests so we do not have to use vectors.) | 182 // requests so we do not have to use vectors.) |
| 183 #if !defined (OS_MACOSX) | 183 #if !defined (OS_MACOSX) |
| 184 scoped_ptr<SpellcheckRequest> pending_request_param_; | 184 scoped_ptr<SpellcheckRequest> pending_request_param_; |
| 185 #endif | 185 #endif |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(SpellCheck); | 187 DISALLOW_COPY_AND_ASSIGN(SpellCheck); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ | 190 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ |
| OLD | NEW |