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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // TestInterfaceEmpty is used as a stub interface type, for testing behavior | 81 // TestInterfaceEmpty is used as a stub interface type, for testing behavior |
82 // that should not depend on particular type (beyond "interface or not"). | 82 // that should not depend on particular type (beyond "interface or not"). |
83 // read only | 83 // read only |
84 readonly attribute DOMString readonlyStringAttribute; | 84 readonly attribute DOMString readonlyStringAttribute; |
85 readonly attribute TestInterfaceEmpty readonlyTestInterfaceEmptyAttribute; | 85 readonly attribute TestInterfaceEmpty readonlyTestInterfaceEmptyAttribute; |
86 readonly attribute long readonlyLongAttribute; | 86 readonly attribute long readonlyLongAttribute; |
87 // Basic types | 87 // Basic types |
88 attribute Date dateAttribute; | 88 attribute Date dateAttribute; |
89 attribute DOMString stringAttribute; | 89 attribute DOMString stringAttribute; |
90 attribute ByteString byteStringAttribute; | 90 attribute ByteString byteStringAttribute; |
| 91 attribute ScalarValueString scalarValueStringAttribute; |
91 attribute DOMTimeStamp domTimeStampAttribute; | 92 attribute DOMTimeStamp domTimeStampAttribute; |
92 attribute boolean booleanAttribute; | 93 attribute boolean booleanAttribute; |
93 attribute byte byteAttribute; | 94 attribute byte byteAttribute; |
94 attribute double doubleAttribute; | 95 attribute double doubleAttribute; |
95 attribute float floatAttribute; | 96 attribute float floatAttribute; |
96 attribute long longAttribute; | 97 attribute long longAttribute; |
97 attribute long long longLongAttribute; | 98 attribute long long longLongAttribute; |
98 attribute octet octetAttribute; | 99 attribute octet octetAttribute; |
99 attribute short shortAttribute; | 100 attribute short shortAttribute; |
100 attribute unrestricted double unrestrictedDoubleAttribute; | 101 attribute unrestricted double unrestrictedDoubleAttribute; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 // E.g., | 257 // E.g., |
257 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); | 258 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); |
258 void voidMethod(); | 259 void voidMethod(); |
259 static void staticVoidMethod(); | 260 static void staticVoidMethod(); |
260 | 261 |
261 // Types | 262 // Types |
262 // Basic types | 263 // Basic types |
263 Date dateMethod(); | 264 Date dateMethod(); |
264 DOMString stringMethod(); | 265 DOMString stringMethod(); |
265 ByteString byteStringMethod(); | 266 ByteString byteStringMethod(); |
| 267 ScalarValueString scalarValueStringMethod(); |
266 DOMTimeStamp readonlyDOMTimeStampMethod(); | 268 DOMTimeStamp readonlyDOMTimeStampMethod(); |
267 boolean booleanMethod(); | 269 boolean booleanMethod(); |
268 byte byteMethod(); | 270 byte byteMethod(); |
269 double doubleMethod(); | 271 double doubleMethod(); |
270 float floatMethod(); | 272 float floatMethod(); |
271 long longMethod(); | 273 long longMethod(); |
272 long long longLongMethod(); | 274 long long longLongMethod(); |
273 octet octetMethod(); | 275 octet octetMethod(); |
274 short shortMethod(); | 276 short shortMethod(); |
275 unsigned long unsignedLongMethod(); | 277 unsigned long unsignedLongMethod(); |
276 unsigned long long unsignedLongLongMethod(); | 278 unsigned long long unsignedLongLongMethod(); |
277 unsigned short unsignedShortMethod(); | 279 unsigned short unsignedShortMethod(); |
278 | 280 |
279 void voidMethodDateArg(Date dateArg); | 281 void voidMethodDateArg(Date dateArg); |
280 void voidMethodStringArg(DOMString stringArg); | 282 void voidMethodStringArg(DOMString stringArg); |
281 void voidMethodByteStringArg(ByteString stringArg); | 283 void voidMethodByteStringArg(ByteString stringArg); |
| 284 void voidMethodScalarValueStringArg(ScalarValueString scalarValueStringArg); |
282 void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); | 285 void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); |
283 void voidMethodBooleanArg(boolean booleanArg); | 286 void voidMethodBooleanArg(boolean booleanArg); |
284 void voidMethodByteArg(byte byteArg); | 287 void voidMethodByteArg(byte byteArg); |
285 void voidMethodDoubleArg(double doubleArg); | 288 void voidMethodDoubleArg(double doubleArg); |
286 void voidMethodFloatArg(float floatArg); | 289 void voidMethodFloatArg(float floatArg); |
287 void voidMethodLongArg(long longArg); | 290 void voidMethodLongArg(long longArg); |
288 void voidMethodLongLongArg(long long longLongArg); | 291 void voidMethodLongLongArg(long long longLongArg); |
289 void voidMethodOctetArg(octet octetArg); | 292 void voidMethodOctetArg(octet octetArg); |
290 void voidMethodShortArg(short shortArg); | 293 void voidMethodShortArg(short shortArg); |
291 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg); | 294 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg); |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 497 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
495 | 498 |
496 // Extended attributes on referenced interfaces | 499 // Extended attributes on referenced interfaces |
497 // (not self; self-reference tests at interface themselves) | 500 // (not self; self-reference tests at interface themselves) |
498 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 501 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
499 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 502 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
500 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 503 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
501 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 504 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
502 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 505 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
503 }; | 506 }; |
OLD | NEW |