OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 attribute EventHandler onerror; | 49 attribute EventHandler onerror; |
50 [MeasureAs=NotificationCloseEvent] attribute EventHandler onclose; | 50 [MeasureAs=NotificationCloseEvent] attribute EventHandler onclose; |
51 | 51 |
52 readonly attribute DOMString title; | 52 readonly attribute DOMString title; |
53 readonly attribute DOMString dir; | 53 readonly attribute DOMString dir; |
54 readonly attribute DOMString lang; | 54 readonly attribute DOMString lang; |
55 readonly attribute DOMString body; | 55 readonly attribute DOMString body; |
56 readonly attribute DOMString tag; | 56 readonly attribute DOMString tag; |
57 readonly attribute DOMString icon; | 57 readonly attribute DOMString icon; |
58 | 58 |
59 // TODO(johnme): Make this a FrozenArray instead before shipping. | |
Peter Beverloo
2015/07/30 16:24:08
Bug?
johnme
2015/07/31 15:10:10
No, but removed and tweaked TODO below since exper
| |
59 [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsign ed long>? vibrate; | 60 [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsign ed long>? vibrate; |
60 readonly attribute boolean silent; | 61 readonly attribute boolean silent; |
61 [CallWith=ScriptState] readonly attribute any data; | 62 [CallWith=ScriptState] readonly attribute any data; |
62 | 63 |
64 // TODO(johnme): Make this a FrozenArray instead before shipping. | |
65 [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<Notifi cationAction> actions; | |
66 | |
63 [MeasureAs=NotificationClosed] void close(); | 67 [MeasureAs=NotificationClosed] void close(); |
64 }; | 68 }; |
OLD | NEW |