| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; | 236 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; |
| 237 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; | 237 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; |
| 238 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; | 238 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; |
| 239 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla
bleStringFloatAttribute; // nop for non-interface types | 239 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla
bleStringFloatAttribute; // nop for non-interface types |
| 240 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; | 240 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; |
| 241 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt
erfaceOrNullAttribute; | 241 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt
erfaceOrNullAttribute; |
| 242 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter
faceNullableTestInterfaceOrNullAttribute; | 242 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter
faceNullableTestInterfaceOrNullAttribute; |
| 243 [Reflect, URL] attribute DOMString urlStringAttribute; | 243 [Reflect, URL] attribute DOMString urlStringAttribute; |
| 244 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 244 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
| 245 [Unforgeable] attribute long unforgeableLongAttribute; | 245 [Unforgeable] attribute long unforgeableLongAttribute; |
| 246 [LogActivity=SetterOnly, LogPreviousValue] attribute long activityLoggingSet
terOnlyLogPreviousValueAttribute; |
| 247 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging
LogPreviousValueInterfaceAttribute; |
| 246 | 248 |
| 247 | 249 |
| 248 // Methods | 250 // Methods |
| 249 // | 251 // |
| 250 // Naming convention: | 252 // Naming convention: |
| 251 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); | 253 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); |
| 252 // E.g., | 254 // E.g., |
| 253 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); | 255 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); |
| 254 void voidMethod(); | 256 void voidMethod(); |
| 255 static void staticVoidMethod(); | 257 static void staticVoidMethod(); |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 494 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
| 493 | 495 |
| 494 // Extended attributes on referenced interfaces | 496 // Extended attributes on referenced interfaces |
| 495 // (not self; self-reference tests at interface themselves) | 497 // (not self; self-reference tests at interface themselves) |
| 496 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 498 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
| 497 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 499 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
| 498 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 500 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
| 499 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 501 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
| 500 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 502 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
| 501 }; | 503 }; |
| OLD | NEW |