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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 FloatRect boundingRect() const; | 125 FloatRect boundingRect() const; |
126 | 126 |
127 void nodeChildrenChanged(ContainerNode*); | 127 void nodeChildrenChanged(ContainerNode*); |
128 void nodeChildrenWillBeRemoved(ContainerNode&); | 128 void nodeChildrenWillBeRemoved(ContainerNode&); |
129 void nodeWillBeRemoved(Node&); | 129 void nodeWillBeRemoved(Node&); |
130 | 130 |
131 void didInsertText(Node*, unsigned offset, unsigned length); | 131 void didInsertText(Node*, unsigned offset, unsigned length); |
132 void didRemoveText(Node*, unsigned offset, unsigned length); | 132 void didRemoveText(Node*, unsigned offset, unsigned length); |
133 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); | 133 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); |
134 void didSplitTextNode(Text& oldNode); | 134 void didSplitTextNode(Text& oldNode); |
| 135 void updateOwnerDocumentIfNeeded(); |
135 | 136 |
136 // Expand range to a unit (word or sentence or block or document) boundary. | 137 // Expand range to a unit (word or sentence or block or document) boundary. |
137 // Please refer to https://bugs.webkit.org/show_bug.cgi?id=27632 comment #5 | 138 // Please refer to https://bugs.webkit.org/show_bug.cgi?id=27632 comment #5 |
138 // for details. | 139 // for details. |
139 void expand(const String&, ExceptionState&); | 140 void expand(const String&, ExceptionState&); |
140 | 141 |
141 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects() const; | 142 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects() const; |
142 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect() const; | 143 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect() const; |
143 | 144 |
144 #ifndef NDEBUG | 145 #ifndef NDEBUG |
(...skipping 29 matching lines...) Expand all Loading... |
174 bool areRangesEqual(const Range*, const Range*); | 175 bool areRangesEqual(const Range*, const Range*); |
175 | 176 |
176 } // namespace | 177 } // namespace |
177 | 178 |
178 #ifndef NDEBUG | 179 #ifndef NDEBUG |
179 // Outside the WebCore namespace for ease of invocation from gdb. | 180 // Outside the WebCore namespace for ease of invocation from gdb. |
180 void showTree(const WebCore::Range*); | 181 void showTree(const WebCore::Range*); |
181 #endif | 182 #endif |
182 | 183 |
183 #endif | 184 #endif |
OLD | NEW |