OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"}; | 31 enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"}; |
32 | 32 |
33 callback VoidCallbackFunction = void (); | 33 callback VoidCallbackFunction = void (); |
34 callback AnyCallbackFunctionOptionalAnyArg = any (optional any optionalAnyArg); | 34 callback AnyCallbackFunctionOptionalAnyArg = any (optional any optionalAnyArg); |
35 | 35 |
36 dictionary TestDict { | |
37 boolean booleanMember; | |
38 long longMember1 = 1; | |
39 }; | |
40 | |
41 dictionary TestDictDerived : TestDict { | |
42 unsigned short unsignedShortMember; | |
43 float floatMember4 = 4.0; | |
44 }; | |
45 | |
46 // No extended attributes on the interface; those go in TestInterface.idl | 36 // No extended attributes on the interface; those go in TestInterface.idl |
47 interface TestObject { | 37 interface TestObject { |
48 // Constants | 38 // Constants |
49 const unsigned short CONST_VALUE_0 = 0; | 39 const unsigned short CONST_VALUE_0 = 0; |
50 const unsigned short CONST_VALUE_1 = 1; | 40 const unsigned short CONST_VALUE_1 = 1; |
51 const unsigned short CONST_VALUE_2 = 2; | 41 const unsigned short CONST_VALUE_2 = 2; |
52 const unsigned short CONST_VALUE_4 = 4; | 42 const unsigned short CONST_VALUE_4 = 4; |
53 const unsigned short CONST_VALUE_8 = 8; | 43 const unsigned short CONST_VALUE_8 = 8; |
54 const short CONST_VALUE_9 = -1; | 44 const short CONST_VALUE_9 = -1; |
55 const DOMString CONST_VALUE_10 = "my constant string"; | 45 const DOMString CONST_VALUE_10 = "my constant string"; |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme
ntedInPrivateScript(DOMString value); | 540 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme
ntedInPrivateScript(DOMString value); |
551 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri
vateScript(Node value); | 541 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri
vateScript(Node value); |
552 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI
nPrivateScript(Document document, Node node, short value1, double value2, DOMStr
ing string); | 542 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI
nPrivateScript(Document document, Node node, short value1, double value2, DOMStr
ing string); |
553 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; | 543 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; |
554 [ImplementedInPrivateScript] attribute short shortAttribute; | 544 [ImplementedInPrivateScript] attribute short shortAttribute; |
555 [ImplementedInPrivateScript] attribute DOMString stringAttribute; | 545 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
556 [ImplementedInPrivateScript] attribute Node nodeAttribute; | 546 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
557 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerFor
PrivateScriptOnly(short value1, short value2); | 547 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerFor
PrivateScriptOnly(short value1, short value2); |
558 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
stringAttributeForPrivateScriptOnly; | 548 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
stringAttributeForPrivateScriptOnly; |
559 }; | 549 }; |
OLD | NEW |