| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 bool isRenderedCharacter() const; | 182 bool isRenderedCharacter() const; |
| 183 bool rendersInDifferentPosition(const Position&) const; | 183 bool rendersInDifferentPosition(const Position&) const; |
| 184 | 184 |
| 185 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const; | 185 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const; |
| 186 void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, Inline
Box*&, int& caretOffset) const; | 186 void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, Inline
Box*&, int& caretOffset) const; |
| 187 | 187 |
| 188 TextDirection primaryDirection() const; | 188 TextDirection primaryDirection() const; |
| 189 | 189 |
| 190 static bool hasRenderedNonAnonymousDescendantsWithHeight(RenderObject*); | 190 static bool hasRenderedNonAnonymousDescendantsWithHeight(RenderObject*); |
| 191 static bool nodeIsUserSelectNone(Node*); | 191 static bool nodeIsUserSelectNone(Node*); |
| 192 #if ENABLE(USERSELECT_ALL) | |
| 193 static bool nodeIsUserSelectAll(const Node*); | 192 static bool nodeIsUserSelectAll(const Node*); |
| 194 static Node* rootUserSelectAllForNode(Node*); | 193 static Node* rootUserSelectAllForNode(Node*); |
| 195 #endif | 194 |
| 196 static ContainerNode* findParent(const Node*); | 195 static ContainerNode* findParent(const Node*); |
| 197 | 196 |
| 198 void debugPosition(const char* msg = "") const; | 197 void debugPosition(const char* msg = "") const; |
| 199 | 198 |
| 200 #ifndef NDEBUG | 199 #ifndef NDEBUG |
| 201 void formatForDebugger(char* buffer, unsigned length) const; | 200 void formatForDebugger(char* buffer, unsigned length) const; |
| 202 void showAnchorTypeAndOffset() const; | 201 void showAnchorTypeAndOffset() const; |
| 203 void showTreeForThis() const; | 202 void showTreeForThis() const; |
| 204 #endif | 203 #endif |
| 205 | 204 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 | 339 |
| 341 } // namespace WebCore | 340 } // namespace WebCore |
| 342 | 341 |
| 343 #ifndef NDEBUG | 342 #ifndef NDEBUG |
| 344 // Outside the WebCore namespace for ease of invocation from gdb. | 343 // Outside the WebCore namespace for ease of invocation from gdb. |
| 345 void showTree(const WebCore::Position&); | 344 void showTree(const WebCore::Position&); |
| 346 void showTree(const WebCore::Position*); | 345 void showTree(const WebCore::Position*); |
| 347 #endif | 346 #endif |
| 348 | 347 |
| 349 #endif // Position_h | 348 #endif // Position_h |
| OLD | NEW |