| Index: third_party/WebCore/notifications/Notification.idl
|
| diff --git a/third_party/WebCore/notifications/Notification.idl b/third_party/WebCore/notifications/Notification.idl
|
| index 3156a8d0f5c1f918da360a0f9354a0542271e4f9..1fb6746d4473cdcf993fad468183692513380c22 100644
|
| --- a/third_party/WebCore/notifications/Notification.idl
|
| +++ b/third_party/WebCore/notifications/Notification.idl
|
| @@ -38,7 +38,12 @@ module threads {
|
| OmitConstructor
|
| ] Notification {
|
| void show();
|
| +#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
|
| void cancel();
|
| +#endif
|
| +#if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
|
| + void close();
|
| +#endif
|
|
|
| attribute EventListener onshow;
|
| #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
|
| @@ -49,7 +54,12 @@ module threads {
|
| attribute EventListener onclick;
|
|
|
| attribute DOMString dir;
|
| +#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
|
| attribute DOMString replaceId;
|
| +#endif
|
| +#if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
|
| + attribute DOMString tag;
|
| +#endif
|
|
|
| // EventTarget interface
|
| void addEventListener(in DOMString type,
|
|
|