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 30 matching lines...) Expand all Loading... |
41 typedef TestCallbackInterface TestCallbackInterfaceType; | 41 typedef TestCallbackInterface TestCallbackInterfaceType; |
42 typedef TestInterfaceConstructor T; | 42 typedef TestInterfaceConstructor T; |
43 typedef (TestInterface or TestInterfaceEmpty) TestInterfaceOrTestInterfaceEmpty; | 43 typedef (TestInterface or TestInterfaceEmpty) TestInterfaceOrTestInterfaceEmpty; |
44 typedef (DOMString or double) DOMStringOrDouble; | 44 typedef (DOMString or double) DOMStringOrDouble; |
45 | 45 |
46 [ | 46 [ |
47 Constructor(String stringArg), | 47 Constructor(String stringArg), |
48 ] interface TestTypedefs { | 48 ] interface TestTypedefs { |
49 attribute ULongLong uLongLongAttribute; | 49 attribute ULongLong uLongLongAttribute; |
50 attribute T tAttribute; | 50 attribute T tAttribute; |
| 51 attribute DOMStringOrDouble? domStringOrDoubleOrNullAttribute; |
51 | 52 |
52 void voidMethodArrayOfLongsArg(optional ArrayOfLongs arrayOfLongsArg); | 53 void voidMethodArrayOfLongsArg(optional ArrayOfLongs arrayOfLongsArg); |
53 | 54 |
54 void voidMethodFloatArgStringArg(Float floatArg, String stringArg); | 55 void voidMethodFloatArgStringArg(Float floatArg, String stringArg); |
55 void voidMethodTestCallbackInterfaceTypeArg(TestCallbackInterfaceType testCa
llbackInterfaceTypeArg); | 56 void voidMethodTestCallbackInterfaceTypeArg(TestCallbackInterfaceType testCa
llbackInterfaceTypeArg); |
56 | 57 |
57 ULongLong uLongLongMethodTestInterfaceEmptyTypeSequenceArg(sequence<TestInte
rfaceEmptyType> testInterfaceEmptyTypeSequenceArg); | 58 ULongLong uLongLongMethodTestInterfaceEmptyTypeSequenceArg(sequence<TestInte
rfaceEmptyType> testInterfaceEmptyTypeSequenceArg); |
58 TestInterfaceOrTestInterfaceEmpty testInterfaceOrTestInterfaceEmptyMethod(); | 59 TestInterfaceOrTestInterfaceEmpty testInterfaceOrTestInterfaceEmptyMethod(); |
59 DOMStringOrDouble domStringOrDoubleMethod(); | 60 DOMStringOrDouble domStringOrDoubleMethod(); |
60 | 61 |
61 ArrayOfStrings arrayOfStringsMethodArrayOfStringsArg(ArrayOfStrings arrayOfS
tringsArg); | 62 ArrayOfStrings arrayOfStringsMethodArrayOfStringsArg(ArrayOfStrings arrayOfS
tringsArg); |
62 String[] stringArrayMethodStringArrayArg(String[] stringArrayArg); | 63 String[] stringArrayMethodStringArrayArg(String[] stringArrayArg); |
63 }; | 64 }; |
OLD | NEW |