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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 void nodeChildrenChanged(ContainerNode*); | 126 void nodeChildrenChanged(ContainerNode*); |
127 void nodeChildrenWillBeRemoved(ContainerNode&); | 127 void nodeChildrenWillBeRemoved(ContainerNode&); |
128 void nodeWillBeRemoved(Node&); | 128 void nodeWillBeRemoved(Node&); |
129 | 129 |
130 void didInsertText(Node*, unsigned offset, unsigned length); | 130 void didInsertText(Node*, unsigned offset, unsigned length); |
131 void didRemoveText(Node*, unsigned offset, unsigned length); | 131 void didRemoveText(Node*, unsigned offset, unsigned length); |
132 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); | 132 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); |
133 void didSplitTextNode(Text& oldNode); | 133 void didSplitTextNode(Text& oldNode); |
134 void updateOwnerDocumentIfNeeded(); | 134 void updateOwnerDocumentIfNeeded(); |
135 | 135 |
136 // 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 // for details. | |
139 void expand(const String&, ExceptionState&); | |
140 | |
141 ClientRectList* getClientRects() const; | 136 ClientRectList* getClientRects() const; |
142 ClientRect* getBoundingClientRect() const; | 137 ClientRect* getBoundingClientRect() const; |
143 | 138 |
144 #ifndef NDEBUG | 139 #ifndef NDEBUG |
145 void formatForDebugger(char* buffer, unsigned length) const; | 140 void formatForDebugger(char* buffer, unsigned length) const; |
146 #endif | 141 #endif |
147 | 142 |
148 DECLARE_TRACE(); | 143 DECLARE_TRACE(); |
149 | 144 |
150 private: | 145 private: |
(...skipping 21 matching lines...) Expand all Loading... |
172 CORE_EXPORT bool areRangesEqual(const Range*, const Range*); | 167 CORE_EXPORT bool areRangesEqual(const Range*, const Range*); |
173 | 168 |
174 } // namespace blink | 169 } // namespace blink |
175 | 170 |
176 #ifndef NDEBUG | 171 #ifndef NDEBUG |
177 // Outside the WebCore namespace for ease of invocation from gdb. | 172 // Outside the WebCore namespace for ease of invocation from gdb. |
178 void showTree(const blink::Range*); | 173 void showTree(const blink::Range*); |
179 #endif | 174 #endif |
180 | 175 |
181 #endif // Range_h | 176 #endif // Range_h |
OLD | NEW |