OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 15 matching lines...) Expand all Loading... | |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 [ | 29 [ |
30 ActiveDOMObject, | 30 ActiveDOMObject, |
31 NamedConstructor=Audio( | 31 NamedConstructor=Audio( |
32 DOMString stringArg, | 32 DOMString stringArg, |
33 [Default=Undefined] optional boolean defaultUndefinedOptionalBooleanArg, | 33 [Default=Undefined] optional boolean defaultUndefinedOptionalBooleanArg, |
34 [Default=Undefined] optional long defaultUndefinedOptionalLongArg, | 34 [Default=Undefined] optional long defaultUndefinedOptionalLongArg, |
35 [Default=Undefined] optional DOMString defaultUndefinedOptionalStringArg , | 35 [Default=Undefined] optional DOMString defaultUndefinedOptionalStringArg , |
36 optional DOMString optionalStringArg, | |
Nils Barth (inactive)
2014/04/09 09:36:38
Could you move this to the bottom?
(Generally opti
sof
2014/04/09 10:53:16
Done.
| |
36 [Default=NullString] optional DOMString defaultNullStringOptionalstringA rg), | 37 [Default=NullString] optional DOMString defaultNullStringOptionalstringA rg), |
37 RaisesException=Constructor, | 38 RaisesException=Constructor, |
38 ] interface TestInterfaceNamedConstructor { | 39 ] interface TestInterfaceNamedConstructor { |
39 // An attribute of type {interface_name}ConstructorConstructor is generated | 40 // An attribute of type {interface_name}ConstructorConstructor is generated |
40 // in *Constructors.idl file, which is a partial interface for the global | 41 // in *Constructors.idl file, which is a partial interface for the global |
41 // object, e.g. Window. We put this here to avoid another test file. | 42 // object, e.g. Window. We put this here to avoid another test file. |
42 attribute TestNamedConstructorConstructor testNamedConstructorConstructorAtt ribute; | 43 attribute TestNamedConstructorConstructor testNamedConstructorConstructorAtt ribute; |
43 }; | 44 }; |
OLD | NEW |