| 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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 { | 756 { |
| 757 Node *node = nextNodeConsideringAtomicNodes(); | 757 Node *node = nextNodeConsideringAtomicNodes(); |
| 758 while (node) { | 758 while (node) { |
| 759 if (isAtomicNode(node)) | 759 if (isAtomicNode(node)) |
| 760 return node; | 760 return node; |
| 761 node = node->nextNodeConsideringAtomicNodes(); | 761 node = node->nextNodeConsideringAtomicNodes(); |
| 762 } | 762 } |
| 763 return 0; | 763 return 0; |
| 764 } | 764 } |
| 765 | 765 |
| 766 RenderStyle* Node::virtualComputedStyle(PseudoId pseudoElementSpecifier) | 766 RenderStyle* Node::virtualComputedStyle() |
| 767 { | 767 { |
| 768 return parentOrShadowHostNode() ? parentOrShadowHostNode()->computedStyle(ps
eudoElementSpecifier) : 0; | 768 return parentOrShadowHostNode() ? parentOrShadowHostNode()->computedStyle()
: 0; |
| 769 } | 769 } |
| 770 | 770 |
| 771 int Node::maxCharacterOffset() const | 771 int Node::maxCharacterOffset() const |
| 772 { | 772 { |
| 773 ASSERT_NOT_REACHED(); | 773 ASSERT_NOT_REACHED(); |
| 774 return 0; | 774 return 0; |
| 775 } | 775 } |
| 776 | 776 |
| 777 // FIXME: Shouldn't these functions be in the editing code? Code that asks ques
tions about HTML in the core DOM class | 777 // FIXME: Shouldn't these functions be in the editing code? Code that asks ques
tions about HTML in the core DOM class |
| 778 // is obviously misplaced. | 778 // is obviously misplaced. |
| (...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1639 node->showTreeForThis(); | 1639 node->showTreeForThis(); |
| 1640 } | 1640 } |
| 1641 | 1641 |
| 1642 void showNodePath(const blink::Node* node) | 1642 void showNodePath(const blink::Node* node) |
| 1643 { | 1643 { |
| 1644 if (node) | 1644 if (node) |
| 1645 node->showNodePathForThis(); | 1645 node->showNodePathForThis(); |
| 1646 } | 1646 } |
| 1647 | 1647 |
| 1648 #endif | 1648 #endif |
| OLD | NEW |