| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 bool isCandidate() const; | 176 bool isCandidate() const; |
| 177 bool inRenderedText() const; | 177 bool inRenderedText() const; |
| 178 bool isRenderedCharacter() const; | 178 bool isRenderedCharacter() const; |
| 179 bool rendersInDifferentPosition(const Position&) const; | 179 bool rendersInDifferentPosition(const Position&) const; |
| 180 | 180 |
| 181 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const; | 181 void getInlineBoxAndOffset(EAffinity, InlineBox*&, int& caretOffset) const; |
| 182 void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, Inline
Box*&, int& caretOffset) const; | 182 void getInlineBoxAndOffset(EAffinity, TextDirection primaryDirection, Inline
Box*&, int& caretOffset) const; |
| 183 | 183 |
| 184 TextDirection primaryDirection() const; | 184 TextDirection primaryDirection() const; |
| 185 | 185 |
| 186 static bool hasRenderedNonAnonymousDescendantsWithHeight(RenderObject*); | 186 static bool hasRenderedDescendantsWithHeight(RenderObject*); |
| 187 static bool nodeIsUserSelectNone(Node*); | 187 static bool nodeIsUserSelectNone(Node*); |
| 188 static bool nodeIsUserSelectAll(const Node*); | 188 static bool nodeIsUserSelectAll(const Node*); |
| 189 static Node* rootUserSelectAllForNode(Node*); | 189 static Node* rootUserSelectAllForNode(Node*); |
| 190 | 190 |
| 191 static ContainerNode* findParent(const Node*); | 191 static ContainerNode* findParent(const Node*); |
| 192 | 192 |
| 193 void debugPosition(const char* msg = "") const; | 193 void debugPosition(const char* msg = "") const; |
| 194 | 194 |
| 195 #ifndef NDEBUG | 195 #ifndef NDEBUG |
| 196 void formatForDebugger(char* buffer, unsigned length) const; | 196 void formatForDebugger(char* buffer, unsigned length) const; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 310 |
| 311 } // namespace blink | 311 } // namespace blink |
| 312 | 312 |
| 313 #ifndef NDEBUG | 313 #ifndef NDEBUG |
| 314 // Outside the WebCore namespace for ease of invocation from gdb. | 314 // Outside the WebCore namespace for ease of invocation from gdb. |
| 315 void showTree(const blink::Position&); | 315 void showTree(const blink::Position&); |
| 316 void showTree(const blink::Position*); | 316 void showTree(const blink::Position*); |
| 317 #endif | 317 #endif |
| 318 | 318 |
| 319 #endif // SKY_ENGINE_CORE_DOM_POSITION_H_ | 319 #endif // SKY_ENGINE_CORE_DOM_POSITION_H_ |
| OLD | NEW |