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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 [EnforceRange] attribute short enforcedRangeShortAttr; | 172 [EnforceRange] attribute short enforcedRangeShortAttr; |
173 [EnforceRange] attribute unsigned short enforcedRangeUnsignedShortAttr; | 173 [EnforceRange] attribute unsigned short enforcedRangeUnsignedShortAttr; |
174 [EnforceRange] attribute long enforcedRangeLongAttr; | 174 [EnforceRange] attribute long enforcedRangeLongAttr; |
175 [EnforceRange] attribute unsigned long enforcedRangeUnsignedLongAttr; | 175 [EnforceRange] attribute unsigned long enforcedRangeUnsignedLongAttr; |
176 [EnforceRange] attribute long long enforcedRangeLongLongAttr; | 176 [EnforceRange] attribute long long enforcedRangeLongLongAttr; |
177 [EnforceRange] attribute unsigned long long enforcedRangeUnsignedLongLongAtt
r; | 177 [EnforceRange] attribute unsigned long long enforcedRangeUnsignedLongLongAtt
r; |
178 | 178 |
179 // 'Conditional' extended attribute | 179 // 'Conditional' extended attribute |
180 [Conditional=Condition1] attribute long conditionalAttr1; | 180 [Conditional=Condition1] attribute long conditionalAttr1; |
181 [Conditional=Condition1&Condition2] attribute long conditionalAttr2; | 181 [Conditional=Condition1&Condition2] attribute long conditionalAttr2; |
182 [Conditional=Condition1|Condition2] attribute long conditionalAttr3; | 182 [Conditional=Condition1|Condition2|Condition3] attribute long conditionalAtt
r3; |
183 | 183 |
184 // 'Conditional' extended method | 184 // 'Conditional' extended method |
185 [Conditional=Condition1] DOMString conditionalMethod1(); | 185 [Conditional=Condition1] DOMString conditionalMethod1(); |
186 [Conditional=Condition1&Condition2] void conditionalMethod2(); | 186 [Conditional=Condition1&Condition2] void conditionalMethod2(); |
187 [Conditional=Condition1|Condition2] void conditionalMethod3(); | 187 [Conditional=Condition1|Condition2] void conditionalMethod3(); |
188 | 188 |
189 [Conditional=Condition1] attribute TestObjectectAConstructor conditionalAttr
4; | 189 [Conditional=Condition1] attribute TestObjectectAConstructor conditionalAttr
4; |
190 [Conditional=Condition1&Condition2] attribute TestObjectectBConstructor cond
itionalAttr5; | 190 [Conditional=Condition1&Condition2] attribute TestObjectectBConstructor cond
itionalAttr5; |
191 [Conditional=Condition1|Condition2] attribute TestObjectectCConstructor cond
itionalAttr6; | 191 [Conditional=Condition1|Condition2] attribute TestObjectectCConstructor cond
itionalAttr6; |
192 | 192 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 304 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
305 | 305 |
306 // PutForwards | 306 // PutForwards |
307 [PutForwards=href] readonly attribute TestNode location; | 307 [PutForwards=href] readonly attribute TestNode location; |
308 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 308 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
309 }; | 309 }; |
310 | 310 |
311 // The following comment should not generate any code | 311 // The following comment should not generate any code |
312 // TestObject implements TestImplements; | 312 // TestObject implements TestImplements; |
313 | 313 |
OLD | NEW |