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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 // E.g., | 259 // E.g., |
259 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); | 260 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); |
260 void voidMethod(); | 261 void voidMethod(); |
261 static void staticVoidMethod(); | 262 static void staticVoidMethod(); |
262 | 263 |
263 // Types | 264 // Types |
264 // Basic types | 265 // Basic types |
265 Date dateMethod(); | 266 Date dateMethod(); |
266 DOMString stringMethod(); | 267 DOMString stringMethod(); |
267 ByteString byteStringMethod(); | 268 ByteString byteStringMethod(); |
| 269 ScalarValueString scalarValueStringMethod(); |
268 DOMTimeStamp readonlyDOMTimeStampMethod(); | 270 DOMTimeStamp readonlyDOMTimeStampMethod(); |
269 boolean booleanMethod(); | 271 boolean booleanMethod(); |
270 byte byteMethod(); | 272 byte byteMethod(); |
271 double doubleMethod(); | 273 double doubleMethod(); |
272 float floatMethod(); | 274 float floatMethod(); |
273 long longMethod(); | 275 long longMethod(); |
274 long long longLongMethod(); | 276 long long longLongMethod(); |
275 octet octetMethod(); | 277 octet octetMethod(); |
276 short shortMethod(); | 278 short shortMethod(); |
277 unsigned long unsignedLongMethod(); | 279 unsigned long unsignedLongMethod(); |
278 unsigned long long unsignedLongLongMethod(); | 280 unsigned long long unsignedLongLongMethod(); |
279 unsigned short unsignedShortMethod(); | 281 unsigned short unsignedShortMethod(); |
280 | 282 |
281 void voidMethodDateArg(Date dateArg); | 283 void voidMethodDateArg(Date dateArg); |
282 void voidMethodStringArg(DOMString stringArg); | 284 void voidMethodStringArg(DOMString stringArg); |
283 void voidMethodByteStringArg(ByteString stringArg); | 285 void voidMethodByteStringArg(ByteString stringArg); |
| 286 void voidMethodScalarValueStringArg(ScalarValueString scalarValueStringArg); |
284 void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); | 287 void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); |
285 void voidMethodBooleanArg(boolean booleanArg); | 288 void voidMethodBooleanArg(boolean booleanArg); |
286 void voidMethodByteArg(byte byteArg); | 289 void voidMethodByteArg(byte byteArg); |
287 void voidMethodDoubleArg(double doubleArg); | 290 void voidMethodDoubleArg(double doubleArg); |
288 void voidMethodFloatArg(float floatArg); | 291 void voidMethodFloatArg(float floatArg); |
289 void voidMethodLongArg(long longArg); | 292 void voidMethodLongArg(long longArg); |
290 void voidMethodLongLongArg(long long longLongArg); | 293 void voidMethodLongLongArg(long long longLongArg); |
291 void voidMethodOctetArg(octet octetArg); | 294 void voidMethodOctetArg(octet octetArg); |
292 void voidMethodShortArg(short shortArg); | 295 void voidMethodShortArg(short shortArg); |
293 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg); | 296 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg); |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 515 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
513 | 516 |
514 // Extended attributes on referenced interfaces | 517 // Extended attributes on referenced interfaces |
515 // (not self; self-reference tests at interface themselves) | 518 // (not self; self-reference tests at interface themselves) |
516 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 519 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
517 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 520 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
518 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 521 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
519 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 522 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
520 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 523 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
521 }; | 524 }; |
OLD | NEW |