| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void didInsertText(Node*, unsigned offset, unsigned length); | 136 void didInsertText(Node*, unsigned offset, unsigned length); |
| 137 void didRemoveText(Node*, unsigned offset, unsigned length); | 137 void didRemoveText(Node*, unsigned offset, unsigned length); |
| 138 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); | 138 void didMergeTextNodes(const NodeWithIndex& oldNode, unsigned offset); |
| 139 void didSplitTextNode(Text& oldNode); | 139 void didSplitTextNode(Text& oldNode); |
| 140 | 140 |
| 141 // Expand range to a unit (word or sentence or block or document) boundary. | 141 // Expand range to a unit (word or sentence or block or document) boundary. |
| 142 // Please refer to https://bugs.webkit.org/show_bug.cgi?id=27632 comment #5 | 142 // Please refer to https://bugs.webkit.org/show_bug.cgi?id=27632 comment #5 |
| 143 // for details. | 143 // for details. |
| 144 void expand(const String&, ExceptionState&); | 144 void expand(const String&, ExceptionState&); |
| 145 | 145 |
| 146 PassRefPtr<ClientRectList> getClientRects() const; | 146 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects() const; |
| 147 PassRefPtr<ClientRect> getBoundingClientRect() const; | 147 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect() const; |
| 148 | 148 |
| 149 #ifndef NDEBUG | 149 #ifndef NDEBUG |
| 150 void formatForDebugger(char* buffer, unsigned length) const; | 150 void formatForDebugger(char* buffer, unsigned length) const; |
| 151 #endif | 151 #endif |
| 152 | 152 |
| 153 void trace(Visitor*); | 153 void trace(Visitor*); |
| 154 | 154 |
| 155 private: | 155 private: |
| 156 explicit Range(Document&); | 156 explicit Range(Document&); |
| 157 Range(Document&, Node* startContainer, int startOffset, Node* endContainer,
int endOffset); | 157 Range(Document&, Node* startContainer, int startOffset, Node* endContainer,
int endOffset); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 181 bool areRangesEqual(const Range*, const Range*); | 181 bool areRangesEqual(const Range*, const Range*); |
| 182 | 182 |
| 183 } // namespace | 183 } // namespace |
| 184 | 184 |
| 185 #ifndef NDEBUG | 185 #ifndef NDEBUG |
| 186 // Outside the WebCore namespace for ease of invocation from gdb. | 186 // Outside the WebCore namespace for ease of invocation from gdb. |
| 187 void showTree(const WebCore::Range*); | 187 void showTree(const WebCore::Range*); |
| 188 #endif | 188 #endif |
| 189 | 189 |
| 190 #endif | 190 #endif |
| OLD | NEW |