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

Unified Diff: modules/notifications/NotificationOptions.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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: modules/notifications/NotificationOptions.idl
diff --git a/modules/notifications/NotificationOptions.idl b/modules/notifications/NotificationOptions.idl
index 364907ecd5f001f352a63e93bf13fc05eba8aa99..9b1ded4b9538fc82d59e566b404f7e542d279031 100644
--- a/modules/notifications/NotificationOptions.idl
+++ b/modules/notifications/NotificationOptions.idl
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://notifications.spec.whatwg.org/#api
+// https://notifications.spec.whatwg.org/#api
enum NotificationDirection {
"auto",
@@ -15,9 +15,13 @@ dictionary NotificationOptions {
DOMString lang = "";
DOMString body = "";
DOMString tag = "";
- DOMString icon;
+ USVString icon;
// TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>)
(unsigned long or sequence<unsigned long>) vibrate;
+ DOMTimeStamp timestamp;
+ boolean renotify = false;
boolean silent = false;
+ boolean requireInteraction = false;
any data = null;
+ sequence<NotificationAction> actions = [];
};
« no previous file with comments | « modules/notifications/NotificationEventInit.idl ('k') | modules/notifications/NotificationPermissionCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698