| Index: third_party/WebCore/notifications/NotificationCenter.idl
|
| diff --git a/third_party/WebCore/notifications/NotificationCenter.idl b/third_party/WebCore/notifications/NotificationCenter.idl
|
| index e508447d49ebaa419cfe7250024c931162eedd7e..da99ba9ff3c406532d9d7371b6be689c5d8af1fd 100644
|
| --- a/third_party/WebCore/notifications/NotificationCenter.idl
|
| +++ b/third_party/WebCore/notifications/NotificationCenter.idl
|
| @@ -32,16 +32,14 @@
|
| module threads {
|
|
|
| interface [
|
| - Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS,
|
| + Conditional=LEGACY_NOTIFICATIONS,
|
| ActiveDOMObject,
|
| OmitConstructor
|
| ] NotificationCenter {
|
| -#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
|
| #if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) || !ENABLE_TEXT_NOTIFICATIONS_ONLY
|
| [V8Custom] Notification createHTMLNotification(in DOMString url) raises(DOMException);
|
| #endif
|
| [V8Custom] Notification createNotification(in DOMString iconUrl, in DOMString title, in DOMString body) raises(DOMException);
|
| -#endif
|
|
|
| int checkPermission();
|
| [Custom] void requestPermission(in VoidCallback callback);
|
|
|