OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // TODO(dhnishi): Link to full spec upon completion. | 5 // TODO(mgiuca): Link to full spec, rather than explainer, upon completion. |
6 // RelatedApplication defined in example. | 6 // https://github.com/WICG/get-installed-related-apps/blob/master/EXPLAINER.md |
7 // https://github.com/DHNishi/IsNativeAppInstalled/blob/master/explainer.md | |
8 | 7 |
| 8 // TODO(mgiuca): This should be a dictionary, not an interface. |
| 9 // (NoInterfaceObject is basically a makeshift dictionary.) |
| 10 // https://crbug.com/687444. |
9 [ | 11 [ |
| 12 NoInterfaceObject, |
10 RuntimeEnabled=InstalledApp | 13 RuntimeEnabled=InstalledApp |
11 ] interface RelatedApplication { | 14 ] interface RelatedApplication { |
12 readonly attribute DOMString platform; | 15 readonly attribute DOMString platform; |
13 readonly attribute DOMString url; | 16 readonly attribute DOMString url; |
14 readonly attribute DOMString id; | 17 readonly attribute DOMString id; |
15 }; | 18 }; |
OLD | NEW |