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

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

Issue 1487763003: Expose NotificationEvent.action (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: with -expected.txt Created 5 years 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=Notifications, 10 RuntimeEnabled=Notifications,
11 ] interface NotificationEvent : ExtendableEvent { 11 ] interface NotificationEvent : ExtendableEvent {
12 readonly attribute Notification notification; 12 readonly attribute Notification notification;
13 [RuntimeEnabled=NotificationExperimental] readonly attribute DOMString actio n; 13 readonly attribute DOMString action;
14 }; 14 };
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698