Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: components/spellcheck/renderer/spellcheck.h

Issue 2198143002: Componentize spellcheck [3]: move renderer/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_SPELLCHECK_RENDERER_SPELLCHECK_H_
6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ 6 #define COMPONENTS_SPELLCHECK_RENDERER_SPELLCHECK_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file.h" 13 #include "base/files/file.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
19 #include "chrome/renderer/spellchecker/custom_dictionary_engine.h" 19 #include "components/spellcheck/renderer/custom_dictionary_engine.h"
20 #include "content/public/renderer/render_thread_observer.h" 20 #include "content/public/renderer/render_thread_observer.h"
21 21
22 struct SpellCheckBDictLanguage; 22 struct SpellCheckBDictLanguage;
23 class SpellcheckLanguage; 23 class SpellcheckLanguage;
24 struct SpellCheckResult; 24 struct SpellCheckResult;
25 25
26 namespace blink { 26 namespace blink {
27 class WebTextCheckingCompletion; 27 class WebTextCheckingCompletion;
28 struct WebTextCheckingResult; 28 struct WebTextCheckingResult;
29 template <typename T> class WebVector; 29 template <typename T> class WebVector;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // Custom dictionary spelling engine. 155 // Custom dictionary spelling engine.
156 CustomDictionaryEngine custom_dictionary_; 156 CustomDictionaryEngine custom_dictionary_;
157 157
158 // Remember state for spellchecking. 158 // Remember state for spellchecking.
159 bool spellcheck_enabled_; 159 bool spellcheck_enabled_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(SpellCheck); 161 DISALLOW_COPY_AND_ASSIGN(SpellCheck);
162 }; 162 };
163 163
164 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_H_ 164 #endif // COMPONENTS_SPELLCHECK_RENDERER_SPELLCHECK_H_
OLDNEW
« no previous file with comments | « components/spellcheck/renderer/platform_spelling_engine.cc ('k') | components/spellcheck/renderer/spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698