diff options
Diffstat (limited to 'Source/WebCore/dom/Event.cpp')
-rw-r--r-- | Source/WebCore/dom/Event.cpp | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/Source/WebCore/dom/Event.cpp b/Source/WebCore/dom/Event.cpp index a1352dc..9cb2778 100644 --- a/Source/WebCore/dom/Event.cpp +++ b/Source/WebCore/dom/Event.cpp @@ -229,6 +229,11 @@ bool Event::isAudioProcessingEvent() const { return false; } + +bool Event::isOfflineAudioCompletionEvent() const +{ + return false; +} #endif #if ENABLE(INPUT_SPEECH) @@ -259,7 +264,7 @@ bool Event::fromUserGesture() // other accepted events || type == eventNames().selectEvent || type == eventNames().changeEvent || type == eventNames().focusEvent || type == eventNames().blurEvent - || type == eventNames().submitEvent || type == eventNames().formchangeEvent; + || type == eventNames().submitEvent; } bool Event::storesResultAsString() const @@ -271,11 +276,6 @@ void Event::storeResult(const String&) { } -bool Event::dispatch(EventDispatcher* dispatcher) -{ - return dispatcher->dispatchEvent(this); -} - void Event::setTarget(PassRefPtr<EventTarget> target) { if (m_target == target) @@ -299,4 +299,18 @@ void Event::setUnderlyingEvent(PassRefPtr<Event> ue) m_underlyingEvent = ue; } +EventDispatchMediator::EventDispatchMediator(PassRefPtr<Event> event) + : m_event(event) +{ +} + +EventDispatchMediator::~EventDispatchMediator() +{ +} + +bool EventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const +{ + return dispatcher->dispatchEvent(m_event.get()); +} + } // namespace WebCore |