| 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 void moveNodeIteratorsToNewDocument(Node*, Document*); | 643 void moveNodeIteratorsToNewDocument(Node*, Document*); |
| 644 | 644 |
| 645 void attachRange(Range*); | 645 void attachRange(Range*); |
| 646 void detachRange(Range*); | 646 void detachRange(Range*); |
| 647 | 647 |
| 648 void updateRangesAfterChildrenChanged(ContainerNode*); | 648 void updateRangesAfterChildrenChanged(ContainerNode*); |
| 649 // nodeChildrenWillBeRemoved is used when removing all node children at once
. | 649 // nodeChildrenWillBeRemoved is used when removing all node children at once
. |
| 650 void nodeChildrenWillBeRemoved(ContainerNode*); | 650 void nodeChildrenWillBeRemoved(ContainerNode*); |
| 651 // nodeWillBeRemoved is only safe when removing one node at a time. | 651 // nodeWillBeRemoved is only safe when removing one node at a time. |
| 652 void nodeWillBeRemoved(Node&); | 652 void nodeWillBeRemoved(Node&); |
| 653 bool canReplaceChild(Node* newChild, Node* oldChild); | 653 bool canReplaceChild(Node& newChild, Node& oldChild); |
| 654 | 654 |
| 655 void didInsertText(Node*, unsigned offset, unsigned length); | 655 void didInsertText(Node*, unsigned offset, unsigned length); |
| 656 void didRemoveText(Node*, unsigned offset, unsigned length); | 656 void didRemoveText(Node*, unsigned offset, unsigned length); |
| 657 void didMergeTextNodes(Text* oldNode, unsigned offset); | 657 void didMergeTextNodes(Text* oldNode, unsigned offset); |
| 658 void didSplitTextNode(Text* oldNode); | 658 void didSplitTextNode(Text* oldNode); |
| 659 | 659 |
| 660 void clearDOMWindow() { m_domWindow = 0; } | 660 void clearDOMWindow() { m_domWindow = 0; } |
| 661 DOMWindow* domWindow() const { return m_domWindow; } | 661 DOMWindow* domWindow() const { return m_domWindow; } |
| 662 | 662 |
| 663 // Helper functions for forwarding DOMWindow event related tasks to the DOMW
indow if it exists. | 663 // Helper functions for forwarding DOMWindow event related tasks to the DOMW
indow if it exists. |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 inline bool Node::isDocumentNode() const | 1377 inline bool Node::isDocumentNode() const |
| 1378 { | 1378 { |
| 1379 return this == documentInternal(); | 1379 return this == documentInternal(); |
| 1380 } | 1380 } |
| 1381 | 1381 |
| 1382 Node* eventTargetNodeForDocument(Document*); | 1382 Node* eventTargetNodeForDocument(Document*); |
| 1383 | 1383 |
| 1384 } // namespace WebCore | 1384 } // namespace WebCore |
| 1385 | 1385 |
| 1386 #endif // Document_h | 1386 #endif // Document_h |
| OLD | NEW |