| 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 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1775 } | 1775 } |
| 1776 | 1776 |
| 1777 return toElement(const_cast<Node*>(result)); | 1777 return toElement(const_cast<Node*>(result)); |
| 1778 } | 1778 } |
| 1779 | 1779 |
| 1780 const AtomicString& Node::interfaceName() const | 1780 const AtomicString& Node::interfaceName() const |
| 1781 { | 1781 { |
| 1782 return EventTargetNames::Node; | 1782 return EventTargetNames::Node; |
| 1783 } | 1783 } |
| 1784 | 1784 |
| 1785 ExecutionContext* Node::executionContext() const | 1785 ExecutionContext* Node::getExecutionContext() const |
| 1786 { | 1786 { |
| 1787 return document().contextDocument().get(); | 1787 return document().contextDocument().get(); |
| 1788 } | 1788 } |
| 1789 | 1789 |
| 1790 void Node::didMoveToNewDocument(Document& oldDocument) | 1790 void Node::didMoveToNewDocument(Document& oldDocument) |
| 1791 { | 1791 { |
| 1792 TreeScopeAdopter::ensureDidMoveToNewDocumentWasCalled(oldDocument); | 1792 TreeScopeAdopter::ensureDidMoveToNewDocumentWasCalled(oldDocument); |
| 1793 | 1793 |
| 1794 if (const EventTargetData* eventTargetData = this->eventTargetData()) { | 1794 if (const EventTargetData* eventTargetData = this->eventTargetData()) { |
| 1795 const EventListenerMap& listenerMap = eventTargetData->eventListenerMap; | 1795 const EventListenerMap& listenerMap = eventTargetData->eventListenerMap; |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2429 | 2429 |
| 2430 void showNodePath(const blink::Node* node) | 2430 void showNodePath(const blink::Node* node) |
| 2431 { | 2431 { |
| 2432 if (node) | 2432 if (node) |
| 2433 node->showNodePathForThis(); | 2433 node->showNodePathForThis(); |
| 2434 else | 2434 else |
| 2435 fprintf(stderr, "Cannot showNodePath for (nil)\n"); | 2435 fprintf(stderr, "Cannot showNodePath for (nil)\n"); |
| 2436 } | 2436 } |
| 2437 | 2437 |
| 2438 #endif | 2438 #endif |
| OLD | NEW |