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

Side by Side Diff: Source/modules/notifications/NotificationEvent.idl

Issue 1262893005: Add NotificationEvent.action property in SW events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@actions3_fix
Patch Set: Address review comments 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://notifications.spec.whatwg.org/#service-worker-api 5 // https://notifications.spec.whatwg.org/#service-worker-api
6 6
7 [ 7 [
8 Constructor(DOMString type, optional NotificationEventInit eventInitDict), 8 Constructor(DOMString type, optional NotificationEventInit eventInitDict),
9 Exposed=ServiceWorker, 9 Exposed=ServiceWorker,
10 RuntimeEnabled=ServiceWorkerNotifications, 10 RuntimeEnabled=ServiceWorkerNotifications,
11 TypeChecking=Interface, 11 TypeChecking=Interface,
12 ] interface NotificationEvent : ExtendableEvent { 12 ] interface NotificationEvent : ExtendableEvent {
13 readonly attribute Notification notification; 13 readonly attribute Notification notification;
14 [RuntimeEnabled=NotificationExperimental] readonly attribute DOMString actio n;
14 }; 15 };
OLDNEW
« no previous file with comments | « Source/modules/notifications/NotificationEvent.cpp ('k') | Source/modules/notifications/NotificationEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698