Index: modules/notifications/NotificationAction.idl |
diff --git a/modules/notifications/NotificationAction.idl b/modules/notifications/NotificationAction.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..be78856c3bc5028caa5b6d13f526f6d41ce61853 |
--- /dev/null |
+++ b/modules/notifications/NotificationAction.idl |
@@ -0,0 +1,11 @@ |
+// Copyright 2015 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. |
+ |
+// https://notifications.spec.whatwg.org/#dictdef-notificationaction |
+ |
+dictionary NotificationAction { |
+ required DOMString action; |
+ required DOMString title; |
+ [RuntimeEnabled=NotificationActionIcons] USVString icon; |
+}; |