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

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

Issue 353973002: IDL: fix code generation for attributes with [PutForwards] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: the fix Created 6 years, 6 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
OLDNEW
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 [NotEnumerable] attribute long notEnumerableLongAttribute; 191 [NotEnumerable] attribute long notEnumerableLongAttribute;
192 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut e; 192 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut e;
193 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea donlyTestInterfaceEmptyAttribute; 193 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea donlyTestInterfaceEmptyAttribute;
194 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging AccessPerWorldBindingsLongAttribute; 194 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging AccessPerWorldBindingsLongAttribute;
195 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola tedWorldsPerWorldBindingsLongAttribute; 195 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola tedWorldsPerWorldBindingsLongAttribute;
196 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti vityLoggingGetterPerWorldBindingsLongAttribute; 196 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti vityLoggingGetterPerWorldBindingsLongAttribute;
197 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet terForIsolatedWorldsPerWorldBindingsLongAttribute; 197 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet terForIsolatedWorldsPerWorldBindingsLongAttribute;
198 [PutForwards=href] readonly attribute TestNode location; 198 [PutForwards=href] readonly attribute TestNode location;
199 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; 199 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException;
200 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; 200 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith;
201 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString;
201 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings; 202 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings;
203 [TypeChecking=Interface, PutForwards=href] readonly attribute TestNode locat ionTypeCheckingInterface;
202 [PutForwards=attr1] readonly attribute TestInterfaceGarbageCollected locatio nGarbageCollected; 204 [PutForwards=attr1] readonly attribute TestInterfaceGarbageCollected locatio nGarbageCollected;
203 [PutForwards=attr1] readonly attribute TestInterfaceWillBeGarbageCollected l ocationWillBeGarbageCollected; 205 [PutForwards=attr1] readonly attribute TestInterfaceWillBeGarbageCollected l ocationWillBeGarbageCollected;
204 [RaisesException] attribute long raisesExceptionLongAttribute; 206 [RaisesException] attribute long raisesExceptionLongAttribute;
205 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute; 207 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute;
206 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute; 208 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute;
207 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE mptyAttribute; 209 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE mptyAttribute;
208 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut eRaisesExceptionGetterAnyAttribute; 210 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut eRaisesExceptionGetterAnyAttribute;
209 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; 211 [Reflect] attribute TestInterface reflectTestInterfaceAttribute;
210 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam eAttributeTestAttribute; 212 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam eAttributeTestAttribute;
211 // [Reflect] exceptional types: exceptional getters, exceptional setters, 213 // [Reflect] exceptional types: exceptional getters, exceptional setters,
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 522 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
521 523
522 // Extended attributes on referenced interfaces 524 // Extended attributes on referenced interfaces
523 // (not self; self-reference tests at interface themselves) 525 // (not self; self-reference tests at interface themselves)
524 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 526 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
525 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 527 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
526 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 528 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
527 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 529 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
528 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 530 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
529 }; 531 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698