| 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 3901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3912 RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::resize); | 3912 RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::resize); |
| 3913 event->setTarget(domWindow()); | 3913 event->setTarget(domWindow()); |
| 3914 ensureScriptedAnimationController().enqueuePerFrameEvent(event.release()); | 3914 ensureScriptedAnimationController().enqueuePerFrameEvent(event.release()); |
| 3915 } | 3915 } |
| 3916 | 3916 |
| 3917 PassRefPtrWillBeRawPtr<Event> Document::createEvent(const String& eventType, Exc
eptionState& exceptionState) | 3917 PassRefPtrWillBeRawPtr<Event> Document::createEvent(const String& eventType, Exc
eptionState& exceptionState) |
| 3918 { | 3918 { |
| 3919 RefPtrWillBeRawPtr<Event> event = EventFactory::create(eventType); | 3919 RefPtrWillBeRawPtr<Event> event = EventFactory::create(eventType); |
| 3920 if (event) | 3920 if (event) |
| 3921 return event.release(); | 3921 return event.release(); |
| 3922 event = EventModulesFactory::create(eventType); // TODO: move this to module
s http://crbug.com/358074 | |
| 3923 if (event) | |
| 3924 return event.release(); | |
| 3925 | 3922 |
| 3926 exceptionState.throwDOMException(NotSupportedError, "The provided event type
('" + eventType + "') is invalid."); | 3923 exceptionState.throwDOMException(NotSupportedError, "The provided event type
('" + eventType + "') is invalid."); |
| 3927 return nullptr; | 3924 return nullptr; |
| 3928 } | 3925 } |
| 3929 | 3926 |
| 3930 void Document::addMutationEventListenerTypeIfEnabled(ListenerType listenerType) | 3927 void Document::addMutationEventListenerTypeIfEnabled(ListenerType listenerType) |
| 3931 { | 3928 { |
| 3932 if (ContextFeatures::mutationEventsEnabled(this)) | 3929 if (ContextFeatures::mutationEventsEnabled(this)) |
| 3933 addListenerType(listenerType); | 3930 addListenerType(listenerType); |
| 3934 } | 3931 } |
| (...skipping 1861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5796 visitor->trace(m_timeline); | 5793 visitor->trace(m_timeline); |
| 5797 visitor->trace(m_compositorPendingAnimations); | 5794 visitor->trace(m_compositorPendingAnimations); |
| 5798 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); | 5795 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); |
| 5799 DocumentSupplementable::trace(visitor); | 5796 DocumentSupplementable::trace(visitor); |
| 5800 TreeScope::trace(visitor); | 5797 TreeScope::trace(visitor); |
| 5801 ContainerNode::trace(visitor); | 5798 ContainerNode::trace(visitor); |
| 5802 ExecutionContext::trace(visitor); | 5799 ExecutionContext::trace(visitor); |
| 5803 } | 5800 } |
| 5804 | 5801 |
| 5805 } // namespace WebCore | 5802 } // namespace WebCore |
| OLD | NEW |