Index: modules/notifications/NotificationOptions.idl |
diff --git a/modules/notifications/NotificationOptions.idl b/modules/notifications/NotificationOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..823032260dbf41e44fe4336f6f80ccfa73a38318 |
--- /dev/null |
+++ b/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://notifications.spec.whatwg.org/#api |
+ |
+enum NotificationDirection { |
+ "auto", |
+ "ltr", |
+ "rtl" |
+}; |
+ |
+[ |
+ GarbageCollected |
+] dictionary NotificationOptions { |
+ NotificationDirection dir = "auto"; |
+ DOMString lang = ""; |
+ DOMString body = ""; |
+ DOMString tag = ""; |
+ DOMString icon; |
+}; |