| 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 3847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3858 ensureScriptedAnimationController().enqueuePerFrameEvent(scrollEvent.release
()); | 3858 ensureScriptedAnimationController().enqueuePerFrameEvent(scrollEvent.release
()); |
| 3859 } | 3859 } |
| 3860 | 3860 |
| 3861 void Document::enqueueResizeEvent() | 3861 void Document::enqueueResizeEvent() |
| 3862 { | 3862 { |
| 3863 RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::resize); | 3863 RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::resize); |
| 3864 event->setTarget(domWindow()); | 3864 event->setTarget(domWindow()); |
| 3865 ensureScriptedAnimationController().enqueuePerFrameEvent(event.release()); | 3865 ensureScriptedAnimationController().enqueuePerFrameEvent(event.release()); |
| 3866 } | 3866 } |
| 3867 | 3867 |
| 3868 void Document::enqueueMediaQueryChangeListeners(WillBeHeapVector<RefPtrWillBeMem
ber<MediaQueryListListener> >& listeners) |
| 3869 { |
| 3870 ensureScriptedAnimationController().enqueueMediaQueryChangeListeners(listene
rs); |
| 3871 } |
| 3872 |
| 3873 |
| 3868 Document::EventFactorySet& Document::eventFactories() | 3874 Document::EventFactorySet& Document::eventFactories() |
| 3869 { | 3875 { |
| 3870 DEFINE_STATIC_LOCAL(EventFactorySet, s_eventFactory, ()); | 3876 DEFINE_STATIC_LOCAL(EventFactorySet, s_eventFactory, ()); |
| 3871 return s_eventFactory; | 3877 return s_eventFactory; |
| 3872 } | 3878 } |
| 3873 | 3879 |
| 3874 void Document::registerEventFactory(PassOwnPtr<EventFactoryBase> eventFactory) | 3880 void Document::registerEventFactory(PassOwnPtr<EventFactoryBase> eventFactory) |
| 3875 { | 3881 { |
| 3876 ASSERT(!eventFactories().contains(eventFactory.get())); | 3882 ASSERT(!eventFactories().contains(eventFactory.get())); |
| 3877 eventFactories().add(eventFactory); | 3883 eventFactories().add(eventFactory); |
| (...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5816 visitor->trace(m_compositorPendingAnimations); | 5822 visitor->trace(m_compositorPendingAnimations); |
| 5817 visitor->trace(m_contextDocument); | 5823 visitor->trace(m_contextDocument); |
| 5818 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); | 5824 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); |
| 5819 DocumentSupplementable::trace(visitor); | 5825 DocumentSupplementable::trace(visitor); |
| 5820 TreeScope::trace(visitor); | 5826 TreeScope::trace(visitor); |
| 5821 ContainerNode::trace(visitor); | 5827 ContainerNode::trace(visitor); |
| 5822 ExecutionContext::trace(visitor); | 5828 ExecutionContext::trace(visitor); |
| 5823 } | 5829 } |
| 5824 | 5830 |
| 5825 } // namespace WebCore | 5831 } // namespace WebCore |
| OLD | NEW |