-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=70652 Reviewed by Eric Seidel. Source/WebCore: Eric felt that this approach would be more readable because it requires less syntax at each callsite. * bindings/js/JSErrorHandler.cpp: (WebCore::JSErrorHandler::handleEvent): * bindings/objc/DOMEvents.mm: (kitClass): * bindings/v8/V8WindowErrorHandler.cpp: (WebCore::V8WindowErrorHandler::callListenerFunction): * bindings/v8/V8WorkerContextErrorHandler.cpp: (WebCore::V8WorkerContextErrorHandler::callListenerFunction): * dom/Event.cpp: (WebCore::Event::hasInterface): * dom/Event.h: * dom/EventDispatcher.cpp: (WebCore::EventDispatcher::determineDispatchBehavior): * dom/Node.cpp: (WebCore::Node::defaultEventHandler): * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler): * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::defaultEventHandler): * html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::forwardEvent): (WebCore::TextFieldInputType::shouldSubmitImplicitly): * inspector/InspectorDOMStorageResource.cpp: (WebCore::InspectorDOMStorageResource::handleEvent): Source/WebKit/chromium: Update call sites to the new interface. * src/WebDOMEvent.cpp: (WebKit::WebDOMEvent::isMutationEvent): (WebKit::WebDOMEvent::isTextEvent): (WebKit::WebDOMEvent::isCompositionEvent): (WebKit::WebDOMEvent::isMessageEvent): (WebKit::WebDOMEvent::isWheelEvent): (WebKit::WebDOMEvent::isOverflowEvent): (WebKit::WebDOMEvent::isPageTransitionEvent): (WebKit::WebDOMEvent::isPopStateEvent): (WebKit::WebDOMEvent::isProgressEvent): (WebKit::WebDOMEvent::isXMLHttpRequestProgressEvent): (WebKit::WebDOMEvent::isWebKitAnimationEvent): (WebKit::WebDOMEvent::isWebKitTransitionEvent): (WebKit::WebDOMEvent::isBeforeLoadEvent): * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b2b0de6a