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, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 3925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3936 } else if (eventType == EventTypeNames::DOMNodeRemovedFromDocument) { | 3936 } else if (eventType == EventTypeNames::DOMNodeRemovedFromDocument) { |
3937 UseCounter::count(*this, UseCounter::DOMNodeRemovedFromDocumentEvent); | 3937 UseCounter::count(*this, UseCounter::DOMNodeRemovedFromDocumentEvent); |
3938 addMutationEventListenerTypeIfEnabled(DOMNODEREMOVEDFROMDOCUMENT_LISTENE
R); | 3938 addMutationEventListenerTypeIfEnabled(DOMNODEREMOVEDFROMDOCUMENT_LISTENE
R); |
3939 } else if (eventType == EventTypeNames::DOMNodeInsertedIntoDocument) { | 3939 } else if (eventType == EventTypeNames::DOMNodeInsertedIntoDocument) { |
3940 UseCounter::count(*this, UseCounter::DOMNodeInsertedIntoDocumentEvent); | 3940 UseCounter::count(*this, UseCounter::DOMNodeInsertedIntoDocumentEvent); |
3941 addMutationEventListenerTypeIfEnabled(DOMNODEINSERTEDINTODOCUMENT_LISTEN
ER); | 3941 addMutationEventListenerTypeIfEnabled(DOMNODEINSERTEDINTODOCUMENT_LISTEN
ER); |
3942 } else if (eventType == EventTypeNames::DOMCharacterDataModified) { | 3942 } else if (eventType == EventTypeNames::DOMCharacterDataModified) { |
3943 UseCounter::count(*this, UseCounter::DOMCharacterDataModifiedEvent); | 3943 UseCounter::count(*this, UseCounter::DOMCharacterDataModifiedEvent); |
3944 addMutationEventListenerTypeIfEnabled(DOMCHARACTERDATAMODIFIED_LISTENER)
; | 3944 addMutationEventListenerTypeIfEnabled(DOMCHARACTERDATAMODIFIED_LISTENER)
; |
3945 } else if (eventType == EventTypeNames::overflowchanged) { | 3945 } else if (eventType == EventTypeNames::overflowchanged) { |
3946 UseCounter::count(*this, UseCounter::OverflowChangedEvent); | 3946 UseCounter::countDeprecation(*this, UseCounter::OverflowChangedEvent); |
3947 addListenerType(OVERFLOWCHANGED_LISTENER); | 3947 addListenerType(OVERFLOWCHANGED_LISTENER); |
3948 } else if (eventType == EventTypeNames::webkitAnimationStart || (RuntimeEnab
ledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::ani
mationstart)) { | 3948 } else if (eventType == EventTypeNames::webkitAnimationStart || (RuntimeEnab
ledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::ani
mationstart)) { |
3949 addListenerType(ANIMATIONSTART_LISTENER); | 3949 addListenerType(ANIMATIONSTART_LISTENER); |
3950 } else if (eventType == EventTypeNames::webkitAnimationEnd || (RuntimeEnable
dFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::anima
tionend)) { | 3950 } else if (eventType == EventTypeNames::webkitAnimationEnd || (RuntimeEnable
dFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames::anima
tionend)) { |
3951 addListenerType(ANIMATIONEND_LISTENER); | 3951 addListenerType(ANIMATIONEND_LISTENER); |
3952 } else if (eventType == EventTypeNames::webkitAnimationIteration || (Runtime
EnabledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames:
:animationiteration)) { | 3952 } else if (eventType == EventTypeNames::webkitAnimationIteration || (Runtime
EnabledFeatures::cssAnimationUnprefixedEnabled() && eventType == EventTypeNames:
:animationiteration)) { |
3953 addListenerType(ANIMATIONITERATION_LISTENER); | 3953 addListenerType(ANIMATIONITERATION_LISTENER); |
3954 } else if (eventType == EventTypeNames::webkitTransitionEnd || eventType ==
EventTypeNames::transitionend) { | 3954 } else if (eventType == EventTypeNames::webkitTransitionEnd || eventType ==
EventTypeNames::transitionend) { |
3955 addListenerType(TRANSITIONEND_LISTENER); | 3955 addListenerType(TRANSITIONEND_LISTENER); |
3956 } else if (eventType == EventTypeNames::scroll) { | 3956 } else if (eventType == EventTypeNames::scroll) { |
(...skipping 1803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5760 visitor->trace(m_timeline); | 5760 visitor->trace(m_timeline); |
5761 visitor->trace(m_compositorPendingAnimations); | 5761 visitor->trace(m_compositorPendingAnimations); |
5762 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); | 5762 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); |
5763 DocumentSupplementable::trace(visitor); | 5763 DocumentSupplementable::trace(visitor); |
5764 TreeScope::trace(visitor); | 5764 TreeScope::trace(visitor); |
5765 ContainerNode::trace(visitor); | 5765 ContainerNode::trace(visitor); |
5766 ExecutionContext::trace(visitor); | 5766 ExecutionContext::trace(visitor); |
5767 } | 5767 } |
5768 | 5768 |
5769 } // namespace WebCore | 5769 } // namespace WebCore |
OLD | NEW |