Index: Source/modules/notifications/NotificationOptions.idl |
diff --git a/Source/modules/notifications/NotificationOptions.idl b/Source/modules/notifications/NotificationOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..18c2f86f1d9e1de5b25b13e52eff319c944c5216 |
--- /dev/null |
+++ b/Source/modules/notifications/NotificationOptions.idl |
@@ -0,0 +1,21 @@ |
+// Copyright 2014 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. |
+ |
+// http://www.w3.org/TR/notifications/#notification |
Peter Beverloo
2014/09/10 14:30:34
nit: We follow the object in the WHATWG spec:
ht
bashi
2014/09/10 15:02:01
Ah, I was looking at a different spec.. Changed.
|
+ |
+enum NotificationDirection { |
+ "auto", |
+ "ltr", |
+ "rtl" |
+}; |
+ |
+[ |
+ GarbageCollected |
+] dictionary NotificationOptions { |
+ NotificationDirection dir = "auto"; |
+ DOMString lang = ""; |
+ DOMString body; |
+ DOMString tag; |
+ DOMString icon; |
+}; |