OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) | 3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) |
4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) | 4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) |
5 * (C) 2001 Peter Kelly (pmk@post.com) | 5 * (C) 2001 Peter Kelly (pmk@post.com) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
7 * reserved. | 7 * reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 const Position StartPosition() const { return start_.ToPosition(); } | 134 const Position StartPosition() const { return start_.ToPosition(); } |
135 const Position EndPosition() const { return end_.ToPosition(); } | 135 const Position EndPosition() const { return end_.ToPosition(); } |
136 void setStart(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION); | 136 void setStart(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION); |
137 void setEnd(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION); | 137 void setEnd(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION); |
138 | 138 |
139 Node* FirstNode() const; | 139 Node* FirstNode() const; |
140 Node* PastLastNode() const; | 140 Node* PastLastNode() const; |
141 | 141 |
142 // Not transform-friendly | 142 // Not transform-friendly |
143 void TextRects(Vector<IntRect>&, bool use_selection_height = false) const; | |
144 IntRect BoundingBox() const; | 143 IntRect BoundingBox() const; |
145 | 144 |
146 // Transform-friendly | 145 // Transform-friendly |
147 void TextQuads(Vector<FloatQuad>&, bool use_selection_height = false) const; | 146 void TextQuads(Vector<FloatQuad>&, bool use_selection_height = false) const; |
148 void GetBorderAndTextQuads(Vector<FloatQuad>&) const; | 147 void GetBorderAndTextQuads(Vector<FloatQuad>&) const; |
149 FloatRect BoundingRect() const; | 148 FloatRect BoundingRect() const; |
150 | 149 |
151 void NodeChildrenWillBeRemoved(ContainerNode&); | 150 void NodeChildrenWillBeRemoved(ContainerNode&); |
152 void NodeWillBeRemoved(Node&); | 151 void NodeWillBeRemoved(Node&); |
153 | 152 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 using RangeVector = HeapVector<Member<Range>>; | 220 using RangeVector = HeapVector<Member<Range>>; |
222 | 221 |
223 } // namespace blink | 222 } // namespace blink |
224 | 223 |
225 #ifndef NDEBUG | 224 #ifndef NDEBUG |
226 // Outside the WebCore namespace for ease of invocation from gdb. | 225 // Outside the WebCore namespace for ease of invocation from gdb. |
227 void showTree(const blink::Range*); | 226 void showTree(const blink::Range*); |
228 #endif | 227 #endif |
229 | 228 |
230 #endif // Range_h | 229 #endif // Range_h |
OLD | NEW |