| Index: third_party/WebCore/notifications/NotificationPermissionCallback.idl
|
| diff --git a/third_party/WebCore/notifications/WorkerContextNotifications.idl b/third_party/WebCore/notifications/NotificationPermissionCallback.idl
|
| similarity index 82%
|
| copy from third_party/WebCore/notifications/WorkerContextNotifications.idl
|
| copy to third_party/WebCore/notifications/NotificationPermissionCallback.idl
|
| index 024260a5ae10a9fe5d028ff68fbd2ed9daf78f23..1f111612e240cecaa19fb5ea71aacd7d26093c20 100644
|
| --- a/third_party/WebCore/notifications/WorkerContextNotifications.idl
|
| +++ b/third_party/WebCore/notifications/NotificationPermissionCallback.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2008 Apple Inc. All Rights Reserved.
|
| + * Copyright (C) 2012 Apple Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -20,17 +20,16 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| - *
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| module threads {
|
|
|
| interface [
|
| - Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS,
|
| - Supplemental=WorkerContext
|
| - ] WorkerContextNotifications {
|
| - readonly attribute [V8EnabledAtRuntime] NotificationCenter webkitNotifications;
|
| + Conditional=NOTIFICATIONS,
|
| + Callback
|
| + ] NotificationPermissionCallback {
|
| + boolean handleEvent(in DOMString permission);
|
| };
|
|
|
| }
|
|
|