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

Side by Side Diff: sky/engine/platform/text/TextBreakIterator.h

Issue 736373003: Fix sky include guards to match Chromium style (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reran script after fixing missing break Created 6 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2006 Lars Knoll <lars@trolltech.com> 2 * Copyright (C) 2006 Lars Knoll <lars@trolltech.com>
3 * Copyright (C) 2007, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2011, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #ifndef TextBreakIterator_h 22 #ifndef SKY_ENGINE_PLATFORM_TEXT_TEXTBREAKITERATOR_H_
23 #define TextBreakIterator_h 23 #define SKY_ENGINE_PLATFORM_TEXT_TEXTBREAKITERATOR_H_
24 24
25 #include "sky/engine/platform/PlatformExport.h" 25 #include "sky/engine/platform/PlatformExport.h"
26 #include "sky/engine/wtf/text/AtomicString.h" 26 #include "sky/engine/wtf/text/AtomicString.h"
27 #include "sky/engine/wtf/unicode/Unicode.h" 27 #include "sky/engine/wtf/unicode/Unicode.h"
28 28
29 #include <unicode/brkiter.h> 29 #include <unicode/brkiter.h>
30 30
31 namespace blink { 31 namespace blink {
32 32
33 typedef icu::BreakIterator TextBreakIterator; 33 typedef icu::BreakIterator TextBreakIterator;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // Counts the number of grapheme clusters. A surrogate pair or a sequence 227 // Counts the number of grapheme clusters. A surrogate pair or a sequence
228 // of a non-combining character and following combining characters is 228 // of a non-combining character and following combining characters is
229 // counted as 1 grapheme cluster. 229 // counted as 1 grapheme cluster.
230 PLATFORM_EXPORT unsigned numGraphemeClusters(const String&); 230 PLATFORM_EXPORT unsigned numGraphemeClusters(const String&);
231 // Returns the number of characters which will be less than or equal to 231 // Returns the number of characters which will be less than or equal to
232 // the specified grapheme cluster length. 232 // the specified grapheme cluster length.
233 PLATFORM_EXPORT unsigned numCharactersInGraphemeClusters(const String&, unsigned ); 233 PLATFORM_EXPORT unsigned numCharactersInGraphemeClusters(const String&, unsigned );
234 234
235 } 235 }
236 236
237 #endif 237 #endif // SKY_ENGINE_PLATFORM_TEXT_TEXTBREAKITERATOR_H_
OLDNEW
« no previous file with comments | « sky/engine/platform/text/TextBoundaries.h ('k') | sky/engine/platform/text/TextBreakIteratorInternalICU.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698