2010-08-27 John Gregg <johnnyg@google.com>
authorjohnnyg <johnnyg@google.com>
Tue, 31 Aug 2010 08:58:28 +0000 (08:58 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 13 Sep 2010 14:18:14 +0000 (11:18 -0300)
commitd11109dced53426ff19d0e89c133cb49fac0a2c8
tree9b5e4bfc94155a2462c5acf04ecb1c792475f77f
parent7cb97137ea15daf78870cf1b4028e0bb17784c56
2010-08-27  John Gregg  <johnnyg@google.com>

        Reviewed by David Levin.

        Notifications should support a click event
        https://bugs.webkit.org/show_bug.cgi?id=44800

        * public/WebNotification.h:
        * src/WebNotification.cpp:
        (WebKit::WebNotification::dispatchClickEvent):
2010-08-27  John Gregg  <johnnyg@google.com>

        Reviewed by David Levin.

        Notifications should support a click event
        https://bugs.webkit.org/show_bug.cgi?id=44800

        Test: fast/notifications/notifications-click-event.html

        * notifications/Notification.h:
        * notifications/Notification.idl:
2010-08-27  John Gregg  <johnnyg@google.com>

        Reviewed by David Levin.

        Notifications should support a click event
        https://bugs.webkit.org/show_bug.cgi?id=44800

        * fast/notifications/notifications-click-event-expected.txt: Added.
        * fast/notifications/notifications-click-event.html: Added.
        * platform/qt/Skipped:
2010-08-27  John Gregg  <johnnyg@google.com>

        Reviewed by David Levin.

        Notifications should support a click event.
        Adds necessary hooks to chromium's DRT so that clicks on desktop notifications
        can be simulated during a layout test.  Requires storing a list of active
        notifications so that they can be referred to later for clicking.
        https://bugs.webkit.org/show_bug.cgi?id=44800

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (LayoutTestController::simulateDesktopNotificationClick):
        * DumpRenderTree/chromium/LayoutTestController.h:
        * DumpRenderTree/chromium/NotificationPresenter.cpp:
        (NotificationPresenter::simulateClick):
        (NotificationPresenter::show):
        (NotificationPresenter::cancel):
        (NotificationPresenter::objectDestroyed):
        * DumpRenderTree/chromium/NotificationPresenter.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/notifications/notifications-click-event-expected.txt [new file with mode: 0644]
LayoutTests/fast/notifications/notifications-click-event.html [new file with mode: 0644]
LayoutTests/platform/qt/Skipped
WebCore/ChangeLog
WebCore/notifications/Notification.h
WebCore/notifications/Notification.idl
WebKit/chromium/ChangeLog
WebKit/chromium/public/WebNotification.h
WebKit/chromium/src/WebNotification.cpp
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/chromium/LayoutTestController.cpp
WebKitTools/DumpRenderTree/chromium/LayoutTestController.h
WebKitTools/DumpRenderTree/chromium/NotificationPresenter.cpp
WebKitTools/DumpRenderTree/chromium/NotificationPresenter.h