OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary formstrArg, with or without | 5 * Redistribution and use in source and binary formstrArg, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 [Reflect, TreatNullAs=NullString] attribute DOMString reflectedStringAttr; | 67 [Reflect, TreatNullAs=NullString] attribute DOMString reflectedStringAttr; |
68 [Reflect] attribute long reflectedIntegralAttr; | 68 [Reflect] attribute long reflectedIntegralAttr; |
69 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; | 69 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; |
70 [Reflect] attribute boolean reflectedBooleanAttr; | 70 [Reflect] attribute boolean reflectedBooleanAttr; |
71 [Reflect, TreatNullAs=NullString, URL] attribute DOMString reflectedURLAttr; | 71 [Reflect, TreatNullAs=NullString, URL] attribute DOMString reflectedURLAttr; |
72 [Reflect=customContentStringAttr, TreatNullAs=NullString] attribute DOMStrin
g reflectedStringAttr; | 72 [Reflect=customContentStringAttr, TreatNullAs=NullString] attribute DOMStrin
g reflectedStringAttr; |
73 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; | 73 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; |
74 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; | 74 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; |
75 [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMStr
ing reflectedCustomURLAttr; | 75 [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMStr
ing reflectedCustomURLAttr; |
76 [Reflect] attribute SVGAnimatedString animatedReflectedAttribute; | 76 [Reflect] attribute SVGAnimatedString animatedReflectedAttribute; |
| 77 [Reflect, ReflectOnly=unique] attribute DOMString limitedToOnlyOneAttribute; |
| 78 [Reflect, ReflectOnly=Per|Paal|Espen] attribute DOMString limitedToOnlyAttri
bute; |
| 79 [Reflect=Other, ReflectOnly=Value1|Value2] attribute DOMString limitedToOnly
OtherAttribute; |
77 | 80 |
78 // TypedArray attribute | 81 // TypedArray attribute |
79 attribute Float32Array typedArrayAttr; | 82 attribute Float32Array typedArrayAttr; |
80 | 83 |
81 // Methods | 84 // Methods |
82 void voidMethod(); | 85 void voidMethod(); |
83 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); | 86 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); |
84 long longMethod(); | 87 long longMethod(); |
85 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); | 88 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); |
86 [MeasureAs=TestFeature] TestObject objMethod(); | 89 [MeasureAs=TestFeature] TestObject objMethod(); |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 307 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
305 | 308 |
306 // PutForwards | 309 // PutForwards |
307 [PutForwards=href] readonly attribute TestNode location; | 310 [PutForwards=href] readonly attribute TestNode location; |
308 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 311 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
309 }; | 312 }; |
310 | 313 |
311 // The following comment should not generate any code | 314 // The following comment should not generate any code |
312 // TestObject implements TestImplements; | 315 // TestObject implements TestImplements; |
313 | 316 |
OLD | NEW |