2010-08-18 Jay Civelli <jcivelli@chromium.org>
authorjcivelli@chromium.org <jcivelli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Aug 2010 22:05:52 +0000 (22:05 +0000)
committerjcivelli@chromium.org <jcivelli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Aug 2010 22:05:52 +0000 (22:05 +0000)
commit23d473e2a1a2d96272f9161125e6262c79cc69a9
tree69eed9791a1b07c1d017f683e46e79efeb74d762
parentad6e05c041e19b9d31ca0cf1eed903464e16192b
2010-08-18  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Darin Fisher.

        Renaming the WebEvent to WebDOMEvent and adding a new event class
        for mouse events so that the event listener API can be used to listen
        to them.  The renaming is needed as there already is a WebMouseEvent class.
        https://bugs.webkit.org/show_bug.cgi?id=43453

        * WebKit.gyp:
        * public/WebDOMEvent.h: Added.
        * public/WebDOMEventListener.h: Added.
        * public/WebDOMMouseEvent.h: Added.
        * public/WebDOMMutationEvent.h: Added.
        * public/WebNode.h:
        * src/EventListenerWrapper.cpp:
        * src/EventListenerWrapper.h:
        * src/WebDOMEvent.cpp: Added.
        * src/WebDOMEventListener.cpp: Added.
        * src/WebDOMEventListenerPrivate.cpp: Added.
        * src/WebDOMEventListenerPrivate.h: Added.
        * src/WebDOMMouseEvent.cpp: Added.
        * src/WebDOMMutationEvent.cpp: Added.
        * src/WebNode.cpp:
        (WebKit::WebNode::isElementNode):
        (WebKit::WebNode::addDOMEventListener):
        (WebKit::WebNode::removeDOMEventListener):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
WebKit/chromium/ChangeLog
WebKit/chromium/WebKit.gyp
WebKit/chromium/public/WebDOMEvent.h [new file with mode: 0644]
WebKit/chromium/public/WebDOMEventListener.h [new file with mode: 0644]
WebKit/chromium/public/WebDOMMouseEvent.h [new file with mode: 0644]
WebKit/chromium/public/WebDOMMutationEvent.h [new file with mode: 0644]
WebKit/chromium/public/WebEventListener.h
WebKit/chromium/public/WebNode.h
WebKit/chromium/src/EventListenerWrapper.cpp
WebKit/chromium/src/EventListenerWrapper.h
WebKit/chromium/src/WebDOMEvent.cpp [new file with mode: 0644]
WebKit/chromium/src/WebDOMEventListener.cpp [new file with mode: 0644]
WebKit/chromium/src/WebDOMEventListenerPrivate.cpp [new file with mode: 0644]
WebKit/chromium/src/WebDOMEventListenerPrivate.h [new file with mode: 0644]
WebKit/chromium/src/WebDOMMouseEvent.cpp [new file with mode: 0644]
WebKit/chromium/src/WebDOMMutationEvent.cpp [new file with mode: 0644]
WebKit/chromium/src/WebEventListener.cpp
WebKit/chromium/src/WebEventListenerPrivate.cpp
WebKit/chromium/src/WebEventListenerPrivate.h
WebKit/chromium/src/WebNode.cpp