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

Unified Diff: Source/modules/notifications/PageNotificationEvent.idl

Issue 1280913002: Deliver action clicks to page notifications (blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@click_test
Patch Set: Created 5 years, 4 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: Source/modules/notifications/PageNotificationEvent.idl
diff --git a/Source/modules/notifications/PageNotificationEvent.idl b/Source/modules/notifications/PageNotificationEvent.idl
new file mode 100644
index 0000000000000000000000000000000000000000..4e54f60c6ad2440b6869d98546d3235e94d8f89e
--- /dev/null
+++ b/Source/modules/notifications/PageNotificationEvent.idl
@@ -0,0 +1,14 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://notifications.spec.whatwg.org/#pagenotificationevent
Peter Beverloo 2015/08/07 07:25:25 This name is not going to fly as-is (we expose "ne
+
+[
+ Constructor(DOMString type, optional PageNotificationEventInit eventInitDict),
+ Exposed=(Window,DedicatedWorker,SharedWorker),
+ RuntimeEnabled=NotificationExperimental,
+ TypeChecking=Interface,
+] interface PageNotificationEvent : Event {
+ readonly attribute DOMString action;
+};

Powered by Google App Engine
This is Rietveld 408576698