OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2006, 2007, 2008 Apple Inc. All right reserved. | 3 * Copyright (C) 2003, 2004, 2006, 2007, 2008 Apple Inc. All right 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/BidiCharacterRun.h" | 25 #include "platform/text/BidiCharacterRun.h" |
26 #include "platform/text/BidiContext.h" | 26 #include "platform/text/BidiContext.h" |
27 #include "platform/text/BidiRunList.h" | 27 #include "platform/text/BidiRunList.h" |
28 #include "platform/text/TextDirection.h" | 28 #include "platform/text/TextDirection.h" |
29 #include "wtf/HashMap.h" | 29 #include "wtf/HashMap.h" |
30 #include "wtf/Noncopyable.h" | 30 #include "wtf/Noncopyable.h" |
31 #include "wtf/PassRefPtr.h" | 31 #include "wtf/PassRefPtr.h" |
32 #include "wtf/Vector.h" | 32 #include "wtf/Vector.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace blink { |
35 | 35 |
36 class RenderObject; | 36 class RenderObject; |
37 | 37 |
38 template <class Iterator> class MidpointState { | 38 template <class Iterator> class MidpointState { |
39 public: | 39 public: |
40 MidpointState() | 40 MidpointState() |
41 { | 41 { |
42 reset(); | 42 reset(); |
43 } | 43 } |
44 | 44 |
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 m_midpointStateForIsolatedRun.add(run, midpoint); | 1075 m_midpointStateForIsolatedRun.add(run, midpoint); |
1076 } | 1076 } |
1077 | 1077 |
1078 template<class Iterator, class Run> | 1078 template<class Iterator, class Run> |
1079 MidpointState<Iterator> BidiResolver<Iterator, Run>::midpointStateForIsolatedRun
(Run* run) | 1079 MidpointState<Iterator> BidiResolver<Iterator, Run>::midpointStateForIsolatedRun
(Run* run) |
1080 { | 1080 { |
1081 return m_midpointStateForIsolatedRun.take(run); | 1081 return m_midpointStateForIsolatedRun.take(run); |
1082 } | 1082 } |
1083 | 1083 |
1084 | 1084 |
1085 } // namespace WebCore | 1085 } // namespace blink |
1086 | 1086 |
1087 #endif // BidiResolver_h | 1087 #endif // BidiResolver_h |
OLD | NEW |