OLD | NEW |
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, |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 #include "platform/text/TextBreakIteratorInternalICU.h" | 25 #include "platform/text/TextBreakIteratorInternalICU.h" |
26 #include "wtf/Assertions.h" | 26 #include "wtf/Assertions.h" |
27 #include "wtf/HashMap.h" | 27 #include "wtf/HashMap.h" |
28 #include "wtf/PassOwnPtr.h" | 28 #include "wtf/PassOwnPtr.h" |
29 #include "wtf/ThreadSpecific.h" | 29 #include "wtf/ThreadSpecific.h" |
30 #include "wtf/ThreadingPrimitives.h" | 30 #include "wtf/ThreadingPrimitives.h" |
31 #include "wtf/text/AtomicString.h" | 31 #include "wtf/text/AtomicString.h" |
32 #include "wtf/text/CString.h" | 32 #include "wtf/text/CString.h" |
33 #include "wtf/text/WTFString.h" | 33 #include "wtf/text/WTFString.h" |
34 #include <unicode/rbbi.h> | |
35 #include <unicode/ubrk.h> | 34 #include <unicode/ubrk.h> |
36 | 35 |
37 using namespace WTF; | 36 using namespace WTF; |
38 using namespace std; | 37 using namespace std; |
39 | 38 |
40 namespace WebCore { | 39 namespace WebCore { |
41 | 40 |
42 class LineBreakIteratorPool { | 41 class LineBreakIteratorPool { |
43 WTF_MAKE_NONCOPYABLE(LineBreakIteratorPool); | 42 WTF_MAKE_NONCOPYABLE(LineBreakIteratorPool); |
44 public: | 43 public: |
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 "$Tel1 $TelV $Tel0;" // Telugu Virama (backward) | 837 "$Tel1 $TelV $Tel0;" // Telugu Virama (backward) |
839 "$Kan1 $KanV $Kan0;" // Kannada Virama (backward) | 838 "$Kan1 $KanV $Kan0;" // Kannada Virama (backward) |
840 "$Mal1 $MalV $Mal0;" // Malayalam Virama (backward) | 839 "$Mal1 $MalV $Mal0;" // Malayalam Virama (backward) |
841 "!!safe_reverse;" | 840 "!!safe_reverse;" |
842 "!!safe_forward;"; | 841 "!!safe_forward;"; |
843 | 842 |
844 return setUpIteratorWithRules(kRules, string, length); | 843 return setUpIteratorWithRules(kRules, string, length); |
845 } | 844 } |
846 | 845 |
847 } | 846 } |
OLD | NEW |