| 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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 void didMergeTextNodes(Text* oldNode, unsigned offset); | 666 void didMergeTextNodes(Text* oldNode, unsigned offset); |
| 667 void didSplitTextNode(Text* oldNode); | 667 void didSplitTextNode(Text* oldNode); |
| 668 | 668 |
| 669 void clearDOMWindow() { m_domWindow = 0; } | 669 void clearDOMWindow() { m_domWindow = 0; } |
| 670 DOMWindow* domWindow() const { return m_domWindow; } | 670 DOMWindow* domWindow() const { return m_domWindow; } |
| 671 | 671 |
| 672 // Helper functions for forwarding DOMWindow event related tasks to the DOMW
indow if it exists. | 672 // Helper functions for forwarding DOMWindow event related tasks to the DOMW
indow if it exists. |
| 673 void setWindowAttributeEventListener(const AtomicString& eventType, PassRefP
tr<EventListener>); | 673 void setWindowAttributeEventListener(const AtomicString& eventType, PassRefP
tr<EventListener>); |
| 674 EventListener* getWindowAttributeEventListener(const AtomicString& eventType
); | 674 EventListener* getWindowAttributeEventListener(const AtomicString& eventType
); |
| 675 | 675 |
| 676 PassRefPtrWillBeRawPtr<Event> createEvent(const String& eventType, Exception
State&); | 676 PassRefPtr<Event> createEvent(const String& eventType, ExceptionState&); |
| 677 PassRefPtrWillBeRawPtr<Event> createEvent(ExceptionState&); | 677 PassRefPtr<Event> createEvent(ExceptionState&); |
| 678 | 678 |
| 679 // keep track of what types of event listeners are registered, so we don't | 679 // keep track of what types of event listeners are registered, so we don't |
| 680 // dispatch events unnecessarily | 680 // dispatch events unnecessarily |
| 681 enum ListenerType { | 681 enum ListenerType { |
| 682 DOMSUBTREEMODIFIED_LISTENER = 1, | 682 DOMSUBTREEMODIFIED_LISTENER = 1, |
| 683 DOMNODEINSERTED_LISTENER = 1 << 1, | 683 DOMNODEINSERTED_LISTENER = 1 << 1, |
| 684 DOMNODEREMOVED_LISTENER = 1 << 2, | 684 DOMNODEREMOVED_LISTENER = 1 << 2, |
| 685 DOMNODEREMOVEDFROMDOCUMENT_LISTENER = 1 << 3, | 685 DOMNODEREMOVEDFROMDOCUMENT_LISTENER = 1 << 3, |
| 686 DOMNODEINSERTEDINTODOCUMENT_LISTENER = 1 << 4, | 686 DOMNODEINSERTEDINTODOCUMENT_LISTENER = 1 << 4, |
| 687 DOMCHARACTERDATAMODIFIED_LISTENER = 1 << 5, | 687 DOMCHARACTERDATAMODIFIED_LISTENER = 1 << 5, |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 inline bool Node::isDocumentNode() const | 1396 inline bool Node::isDocumentNode() const |
| 1397 { | 1397 { |
| 1398 return this == document(); | 1398 return this == document(); |
| 1399 } | 1399 } |
| 1400 | 1400 |
| 1401 Node* eventTargetNodeForDocument(Document*); | 1401 Node* eventTargetNodeForDocument(Document*); |
| 1402 | 1402 |
| 1403 } // namespace WebCore | 1403 } // namespace WebCore |
| 1404 | 1404 |
| 1405 #endif // Document_h | 1405 #endif // Document_h |
| OLD | NEW |