Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: third_party/WebCore/notifications/NotificationPermissionCallback.idl

Issue 10381128: Roll IDL to multivm@516 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
}

Powered by Google App Engine
This is Rietveld 408576698