| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef Character_h | 31 #ifndef Character_h |
| 32 #define Character_h | 32 #define Character_h |
| 33 | 33 |
| 34 #include "platform/PlatformExport.h" | 34 #include "platform/PlatformExport.h" |
| 35 #include "platform/text/CharacterProperty.h" | 35 #include "platform/text/CharacterProperty.h" |
| 36 #include "platform/text/TextDirection.h" | 36 #include "platform/text/TextDirection.h" |
| 37 #include "platform/text/TextRun.h" | 37 #include "platform/text/TextRun.h" |
| 38 #include "wtf/ASCIICType.h" | 38 #include "platform/wtf/ASCIICType.h" |
| 39 #include "wtf/Allocator.h" | 39 #include "platform/wtf/Allocator.h" |
| 40 #include "wtf/HashSet.h" | 40 #include "platform/wtf/HashSet.h" |
| 41 #include "wtf/text/CharacterNames.h" | 41 #include "platform/wtf/text/CharacterNames.h" |
| 42 #include "wtf/text/WTFString.h" | 42 #include "platform/wtf/text/WTFString.h" |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 class PLATFORM_EXPORT Character { | 46 class PLATFORM_EXPORT Character { |
| 47 STATIC_ONLY(Character); | 47 STATIC_ONLY(Character); |
| 48 | 48 |
| 49 public: | 49 public: |
| 50 static inline bool isInRange(UChar32 character, | 50 static inline bool isInRange(UChar32 character, |
| 51 UChar32 lowerBound, | 51 UChar32 lowerBound, |
| 52 UChar32 upperBound) { | 52 UChar32 upperBound) { |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 static String normalizeSpaces(const LChar*, unsigned length); | 168 static String normalizeSpaces(const LChar*, unsigned length); |
| 169 static String normalizeSpaces(const UChar*, unsigned length); | 169 static String normalizeSpaces(const UChar*, unsigned length); |
| 170 | 170 |
| 171 static bool isCommonOrInheritedScript(UChar32); | 171 static bool isCommonOrInheritedScript(UChar32); |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 } // namespace blink | 174 } // namespace blink |
| 175 | 175 |
| 176 #endif | 176 #endif |
| OLD | NEW |