| Index: third_party/WebCore/notifications/Notification.idl
|
| diff --git a/third_party/WebCore/notifications/Notification.idl b/third_party/WebCore/notifications/Notification.idl
|
| index 079f13eca31836b1e42b3945247f14d9873bdfab..da2eb7f245f9f56c6eb3b755a8d6665dcb4be33f 100644
|
| --- a/third_party/WebCore/notifications/Notification.idl
|
| +++ b/third_party/WebCore/notifications/Notification.idl
|
| @@ -50,6 +50,12 @@ module threads {
|
| void close();
|
| #endif
|
|
|
| +
|
| +#if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
|
| + [CallWith=ScriptExecutionContext] static DOMString permissionLevel();
|
| + [Custom] static void requestPermission(in NotificationPermissionCallback callback);
|
| +#endif
|
| +
|
| attribute EventListener onshow;
|
| #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
|
| attribute EventListener ondisplay;
|
|
|