| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // Uses an editing-specific concept of what a leaf node is, and should proba
bly be moved | 319 // Uses an editing-specific concept of what a leaf node is, and should proba
bly be moved |
| 320 // out of the Node class into an editing-specific source file. | 320 // out of the Node class into an editing-specific source file. |
| 321 Node* nextLeafNode() const; | 321 Node* nextLeafNode() const; |
| 322 | 322 |
| 323 // Returns the previous leaf node or 0 if there are no more. | 323 // Returns the previous leaf node or 0 if there are no more. |
| 324 // Delivers leaf nodes as if the whole DOM tree were a linear chain of its l
eaf nodes. | 324 // Delivers leaf nodes as if the whole DOM tree were a linear chain of its l
eaf nodes. |
| 325 // Uses an editing-specific concept of what a leaf node is, and should proba
bly be moved | 325 // Uses an editing-specific concept of what a leaf node is, and should proba
bly be moved |
| 326 // out of the Node class into an editing-specific source file. | 326 // out of the Node class into an editing-specific source file. |
| 327 Node* previousLeafNode() const; | 327 Node* previousLeafNode() const; |
| 328 | 328 |
| 329 // enclosingBlockFlowElement() is deprecated. Use enclosingBlock instead. | |
| 330 Element* enclosingBlockFlowElement() const; | |
| 331 | |
| 332 bool isRootEditableElement() const; | 329 bool isRootEditableElement() const; |
| 333 Element* rootEditableElement() const; | 330 Element* rootEditableElement() const; |
| 334 Element* rootEditableElement(EditableType) const; | 331 Element* rootEditableElement(EditableType) const; |
| 335 | 332 |
| 336 bool inSameContainingBlockFlowElement(Node*); | |
| 337 | |
| 338 // For <link> and <style> elements. | 333 // For <link> and <style> elements. |
| 339 virtual bool sheetLoaded() { return true; } | 334 virtual bool sheetLoaded() { return true; } |
| 340 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool /* error loadi
ng subresource */) { } | 335 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool /* error loadi
ng subresource */) { } |
| 341 virtual void startLoadingDynamicSheet() { ASSERT_NOT_REACHED(); } | 336 virtual void startLoadingDynamicSheet() { ASSERT_NOT_REACHED(); } |
| 342 | 337 |
| 343 bool hasName() const { return !isTextNode() && getFlag(HasNameOrIsEditingTex
tFlag); } | 338 bool hasName() const { return !isTextNode() && getFlag(HasNameOrIsEditingTex
tFlag); } |
| 344 | 339 |
| 345 bool isUserActionElement() const { return getFlag(IsUserActionElementFlag);
} | 340 bool isUserActionElement() const { return getFlag(IsUserActionElementFlag);
} |
| 346 void setUserActionElement(bool flag) { setFlag(flag, IsUserActionElementFlag
); } | 341 void setUserActionElement(bool flag) { setFlag(flag, IsUserActionElementFlag
); } |
| 347 | 342 |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 } // namespace blink | 891 } // namespace blink |
| 897 | 892 |
| 898 #ifndef NDEBUG | 893 #ifndef NDEBUG |
| 899 // Outside the WebCore namespace for ease of invocation from gdb. | 894 // Outside the WebCore namespace for ease of invocation from gdb. |
| 900 void showNode(const blink::Node*); | 895 void showNode(const blink::Node*); |
| 901 void showTree(const blink::Node*); | 896 void showTree(const blink::Node*); |
| 902 void showNodePath(const blink::Node*); | 897 void showNodePath(const blink::Node*); |
| 903 #endif | 898 #endif |
| 904 | 899 |
| 905 #endif | 900 #endif |
| OLD | NEW |