-
dominicc@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=76104 Reviewed by Kentaro Hara. Source/WebCore: The spec for WheelEvent is <http://www.w3.org/TR/DOM-Level-3-Events/#webidl-events-WheelEvent> Tests: fast/events/event-creation.html http://samples.msdn.microsoft.com/ietestcenter/dominheritance/showdominheritancetest.htm?Prototype_WheelEvent * bindings/objc/PublicDOMInterfaces.h: Remove redundant MouseEvent API from WheelEvent * bindings/scripts/CodeGeneratorObjC.pm: MouseEvents are Events * dom/MouseEvent.h: Expose no-arg constructor to WheelEvent * dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent): Call MouseEvent superconstructor (WebCore::WheelEvent::isMouseEvent): Existing callers use this just for moves and clicks, ie the type is exactly MouseEvent. * dom/WheelEvent.h: Extend MouseEvent * dom/WheelEvent.idl: " LayoutTests: * fast/events/event-creation-expected.txt: * fast/events/event-creation.html: Also check WheelEvent instanceof MouseEvent as well as UIEvent, Event git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0edeeaca