OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // 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.
| |
6 | |
7 enum NotificationDirection { | |
8 "auto", | |
9 "ltr", | |
10 "rtl" | |
11 }; | |
12 | |
13 [ | |
14 GarbageCollected | |
15 ] dictionary NotificationOptions { | |
16 NotificationDirection dir = "auto"; | |
17 DOMString lang = ""; | |
18 DOMString body; | |
19 DOMString tag; | |
20 DOMString icon; | |
21 }; | |
OLD | NEW |