| 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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 DOMNODEINSERTED_LISTENER = 1 << 1, | 692 DOMNODEINSERTED_LISTENER = 1 << 1, |
| 693 DOMNODEREMOVED_LISTENER = 1 << 2, | 693 DOMNODEREMOVED_LISTENER = 1 << 2, |
| 694 DOMNODEREMOVEDFROMDOCUMENT_LISTENER = 1 << 3, | 694 DOMNODEREMOVEDFROMDOCUMENT_LISTENER = 1 << 3, |
| 695 DOMNODEINSERTEDINTODOCUMENT_LISTENER = 1 << 4, | 695 DOMNODEINSERTEDINTODOCUMENT_LISTENER = 1 << 4, |
| 696 DOMCHARACTERDATAMODIFIED_LISTENER = 1 << 5, | 696 DOMCHARACTERDATAMODIFIED_LISTENER = 1 << 5, |
| 697 OVERFLOWCHANGED_LISTENER = 1 << 6, | 697 OVERFLOWCHANGED_LISTENER = 1 << 6, |
| 698 ANIMATIONEND_LISTENER = 1 << 7, | 698 ANIMATIONEND_LISTENER = 1 << 7, |
| 699 ANIMATIONSTART_LISTENER = 1 << 8, | 699 ANIMATIONSTART_LISTENER = 1 << 8, |
| 700 ANIMATIONITERATION_LISTENER = 1 << 9, | 700 ANIMATIONITERATION_LISTENER = 1 << 9, |
| 701 TRANSITIONEND_LISTENER = 1 << 10, | 701 TRANSITIONEND_LISTENER = 1 << 10, |
| 702 BEFORELOAD_LISTENER = 1 << 11, | |
| 703 SCROLL_LISTENER = 1 << 12 | 702 SCROLL_LISTENER = 1 << 12 |
| 704 // 3 bits remaining | 703 // 4 bits remaining |
| 705 }; | 704 }; |
| 706 | 705 |
| 707 bool hasListenerType(ListenerType listenerType) const { return (m_listenerTy
pes & listenerType); } | 706 bool hasListenerType(ListenerType listenerType) const { return (m_listenerTy
pes & listenerType); } |
| 708 void addListenerTypeIfNeeded(const AtomicString& eventType); | 707 void addListenerTypeIfNeeded(const AtomicString& eventType); |
| 709 | 708 |
| 710 bool hasMutationObserversOfType(MutationObserver::MutationType type) const | 709 bool hasMutationObserversOfType(MutationObserver::MutationType type) const |
| 711 { | 710 { |
| 712 return m_mutationObserverTypes & type; | 711 return m_mutationObserverTypes & type; |
| 713 } | 712 } |
| 714 bool hasMutationObservers() const { return m_mutationObserverTypes; } | 713 bool hasMutationObservers() const { return m_mutationObserverTypes; } |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1407 inline bool Node::isDocumentNode() const | 1406 inline bool Node::isDocumentNode() const |
| 1408 { | 1407 { |
| 1409 return this == document(); | 1408 return this == document(); |
| 1410 } | 1409 } |
| 1411 | 1410 |
| 1412 Node* eventTargetNodeForDocument(Document*); | 1411 Node* eventTargetNodeForDocument(Document*); |
| 1413 | 1412 |
| 1414 } // namespace WebCore | 1413 } // namespace WebCore |
| 1415 | 1414 |
| 1416 #endif // Document_h | 1415 #endif // Document_h |
| OLD | NEW |