Chromium Code Reviews| Index: third_party/WebCore/Modules/notifications/Notification.idl |
| diff --git a/third_party/WebCore/Modules/notifications/Notification.idl b/third_party/WebCore/Modules/notifications/Notification.idl |
| index e0a21f943cc8c26c472e92992922675b329635a8..194e89b03726080ed79c84a6acca3288b96cd69f 100644 |
| --- a/third_party/WebCore/Modules/notifications/Notification.idl |
| +++ b/third_party/WebCore/Modules/notifications/Notification.idl |
| @@ -51,7 +51,7 @@ |
| #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS |
| static readonly attribute [CallWith=ScriptExecutionContext] DOMString permission; |
| - [Custom] static void requestPermission(in NotificationPermissionCallback callback); |
| + [CallWith=ScriptExecutionContext] static void requestPermission(in [Optional, Callback] NotificationPermissionCallback callback); |
|
Anton Muhin
2013/03/05 11:47:42
should we remove custom implementation if any?
Mads Ager (google)
2013/03/05 11:50:49
Yes, just sent out a separate change for you on th
|
| #endif |
| attribute EventListener onshow; |