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

Side by Side Diff: chrome/renderer/spellchecker/spellcheck_worditerator.h

Issue 11734021: Roll ICU and convert include style to standard Chromium style, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
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 CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_
10 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_ 10 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "unicode/ubrk.h"
15 #include "unicode/uscript.h"
16
17 #include "base/basictypes.h" 14 #include "base/basictypes.h"
18 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "third_party/icu/public/common/unicode/ubrk.h"
17 #include "third_party/icu/public/common/unicode/uscript.h"
19 18
20 // A class which encapsulates language-specific operations used by 19 // A class which encapsulates language-specific operations used by
21 // SpellcheckWordIterator. When we set the spellchecker language, this class 20 // SpellcheckWordIterator. When we set the spellchecker language, this class
22 // creates rule sets that filter out the characters not supported by the 21 // creates rule sets that filter out the characters not supported by the
23 // spellchecker. (Please read the comment in the SpellcheckWordIterator class 22 // spellchecker. (Please read the comment in the SpellcheckWordIterator class
24 // about how to use this class.) 23 // about how to use this class.)
25 class SpellcheckCharAttribute { 24 class SpellcheckCharAttribute {
26 public: 25 public:
27 SpellcheckCharAttribute(); 26 SpellcheckCharAttribute();
28 ~SpellcheckCharAttribute(); 27 ~SpellcheckCharAttribute();
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 const SpellcheckCharAttribute* attribute_; 167 const SpellcheckCharAttribute* attribute_;
169 168
170 // The ICU break iterator. 169 // The ICU break iterator.
171 UBreakIterator* iterator_; 170 UBreakIterator* iterator_;
172 171
173 DISALLOW_COPY_AND_ASSIGN(SpellcheckWordIterator); 172 DISALLOW_COPY_AND_ASSIGN(SpellcheckWordIterator);
174 }; 173 };
175 174
176 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_ 175 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_WORDITERATOR_H_
177 176
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck.h ('k') | chrome/renderer/spellchecker/spellcheck_worditerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698