Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: Source/bindings/tests/idls/TestObject.idl

Issue 124943002: Perl IDL parser: allow extended attributes to have more than 2 values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698