diff options
Diffstat (limited to 'WebCore/dom/Event.cpp')
-rw-r--r-- | WebCore/dom/Event.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/WebCore/dom/Event.cpp b/WebCore/dom/Event.cpp index bb404fa..9293a9a 100644 --- a/WebCore/dom/Event.cpp +++ b/WebCore/dom/Event.cpp @@ -282,25 +282,4 @@ void Event::setUnderlyingEvent(PassRefPtr<Event> ue) m_underlyingEvent = ue; } -const AtomicString& Event::aliasedType() const -{ - if (type() == eventNames().focusinEvent) - return eventNames().DOMFocusInEvent; - if (type() == eventNames().focusoutEvent) - return eventNames().DOMFocusOutEvent; - if (type() == eventNames().DOMFocusInEvent) - return eventNames().focusinEvent; - if (type() == eventNames().DOMFocusOutEvent) - return eventNames().focusoutEvent; - - ASSERT_NOT_REACHED(); - return type(); -} - -bool Event::hasAliasedType() const -{ - return type() == eventNames().focusinEvent || type() == eventNames().focusoutEvent || - type() == eventNames().DOMFocusInEvent || type() == eventNames().DOMFocusOutEvent; -} - } // namespace WebCore |