Deprecate ondisplay()
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Mar 2012 22:44:02 +0000 (22:44 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Mar 2012 22:44:02 +0000 (22:44 +0000)
commit34f4ebc0f3bd4a9414c99d2f6b4afab8dbc15a6f
treee5d1912ef3e7aa7083282c54f99b0a48640e4e80
parenteb8de92b1c3d2b872d77ceef9cde15e5721e1f69
Deprecate ondisplay()
https://bugs.webkit.org/show_bug.cgi?id=80483
<rdar://problem/10912432>

Reviewed by Jian Li.

Source/WebCore:

The appropriate event listener for notifications is onshow().

* notifications/Notification.h: Wrap ondisplay in ENABLE(LEGACY_NOTIFICATIONS).
* notifications/Notification.idl: Wrap ondisplay in ENABLE_LEGACY_NOTIFICATIONS.

Source/WebKit/chromium:

* src/WebNotification.cpp:
(WebKit::WebNotification::dispatchDisplayEvent): Dispatch the show event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/notifications/Notification.h
Source/WebCore/notifications/Notification.idl
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/WebNotification.cpp