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 reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 // Not transform-friendly | 117 // Not transform-friendly |
118 void textRects(Vector<IntRect>&, bool useSelectionHeight = false) const; | 118 void textRects(Vector<IntRect>&, bool useSelectionHeight = false) const; |
119 IntRect boundingBox() const; | 119 IntRect boundingBox() const; |
120 | 120 |
121 // Transform-friendly | 121 // Transform-friendly |
122 void textQuads(Vector<FloatQuad>&, bool useSelectionHeight = false) const; | 122 void textQuads(Vector<FloatQuad>&, bool useSelectionHeight = false) const; |
123 void getBorderAndTextQuads(Vector<FloatQuad>&) const; | 123 void getBorderAndTextQuads(Vector<FloatQuad>&) const; |
124 FloatRect boundingRect() const; | 124 FloatRect boundingRect() const; |
125 | 125 |
126 void nodeChildrenChanged(ContainerNode*); | |
127 void nodeChildrenWillBeRemoved(ContainerNode&); | 126 void nodeChildrenWillBeRemoved(ContainerNode&); |
128 void nodeWillBeRemoved(Node&); | 127 void nodeWillBeRemoved(Node&); |
129 | 128 |
130 void didInsertText(Node*, unsigned offset, unsigned length); | 129 void didInsertText(Node*, unsigned offset, unsigned length); |
131 void didRemoveText(Node*, unsigned offset, unsigned length); | 130 void didRemoveText(Node*, unsigned offset, unsigned length); |
132 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); | 131 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); |
133 void didSplitTextNode(Text& oldNode); | 132 void didSplitTextNode(Text& oldNode); |
134 void updateOwnerDocumentIfNeeded(); | 133 void updateOwnerDocumentIfNeeded(); |
135 | 134 |
136 // Expand range to a unit (word or sentence or block or document) boundary. | 135 // Expand range to a unit (word or sentence or block or document) boundary. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 using RangeVector = HeapVector<Member<Range>>; | 173 using RangeVector = HeapVector<Member<Range>>; |
175 | 174 |
176 } // namespace blink | 175 } // namespace blink |
177 | 176 |
178 #ifndef NDEBUG | 177 #ifndef NDEBUG |
179 // Outside the WebCore namespace for ease of invocation from gdb. | 178 // Outside the WebCore namespace for ease of invocation from gdb. |
180 void showTree(const blink::Range*); | 179 void showTree(const blink::Range*); |
181 #endif | 180 #endif |
182 | 181 |
183 #endif // Range_h | 182 #endif // Range_h |
OLD | NEW |