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

Side by Side Diff: components/spellcheck/renderer/spellcheck_worditerator.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Defines an iterator class that enumerates words supported by our spellchecker 5 // Defines an iterator class that enumerates words supported by our spellchecker
6 // from multi-language text. This class is used for filtering out characters 6 // from multi-language text. This class is used for filtering out characters
7 // not supported by our spellchecker. 7 // not supported by our spellchecker.
8 8
9 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_ 9 #ifndef COMPONENTS_SPELLCHECK_RENDERER_SPELLCHECK_WORDITERATOR_H_
10 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_ 10 #define COMPONENTS_SPELLCHECK_RENDERER_SPELLCHECK_WORDITERATOR_H_
11 11
12 #include <stddef.h> 12 #include <stddef.h>
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 16
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
19 #include "third_party/icu/source/common/unicode/uscript.h" 19 #include "third_party/icu/source/common/unicode/uscript.h"
20 20
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // The language-specific attributes used for filtering out non-word 189 // The language-specific attributes used for filtering out non-word
190 // characters. 190 // characters.
191 const SpellcheckCharAttribute* attribute_; 191 const SpellcheckCharAttribute* attribute_;
192 192
193 // The break iterator. 193 // The break iterator.
194 std::unique_ptr<base::i18n::BreakIterator> iterator_; 194 std::unique_ptr<base::i18n::BreakIterator> iterator_;
195 195
196 DISALLOW_COPY_AND_ASSIGN(SpellcheckWordIterator); 196 DISALLOW_COPY_AND_ASSIGN(SpellcheckWordIterator);
197 }; 197 };
198 198
199 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_ 199 #endif // COMPONENTS_SPELLCHECK_RENDERER_SPELLCHECK_WORDITERATOR_H_
200 200
OLDNEW
« no previous file with comments | « components/spellcheck/renderer/spellcheck_unittest.cc ('k') | components/spellcheck/renderer/spellcheck_worditerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698