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

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

Issue 36793003: IDL compiler: constructor attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simpler loop Created 7 years, 2 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) 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute; 87 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute;
88 attribute float[] floatArrayAttribute; 88 attribute float[] floatArrayAttribute;
89 // Nullable attributes 89 // Nullable attributes
90 attribute DOMString? nullableStringAttribute; 90 attribute DOMString? nullableStringAttribute;
91 attribute long? nullableLongAttribute; 91 attribute long? nullableLongAttribute;
92 // Enumerations 92 // Enumerations
93 attribute TestEnum testEnumAttribute; 93 attribute TestEnum testEnumAttribute;
94 // Static attributes 94 // Static attributes
95 static attribute DOMString staticStringAttribute; 95 static attribute DOMString staticStringAttribute;
96 static attribute long staticLongAttribute; 96 static attribute long staticLongAttribute;
97 // Constructors
98 // attribute attribute TestSubObjConstructor TestSubObj;
99 attribute TestObjectAConstructor testObjectAConstructorAttribute;
97 // Miscellaneous special types 100 // Miscellaneous special types
98 attribute EventHandler eventHandlerAttribute; 101 attribute EventHandler eventHandlerAttribute;
99 attribute Promise promiseAttribute; 102 attribute Promise promiseAttribute;
100 103
101 // Extended attributes 104 // Extended attributes
102 [ActivityLogging=AccessForAllWorlds] attribute long activityLoggingAccessFor AllWorldsLongAttribute; 105 [ActivityLogging=AccessForAllWorlds] attribute long activityLoggingAccessFor AllWorldsLongAttribute;
103 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor AllWorldsLongAttribute; 106 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor AllWorldsLongAttribute;
104 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor AllWorldsLongAttribute; 107 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor AllWorldsLongAttribute;
105 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; 108 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
106 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te; 109 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 [SetterRaisesException] attribute long setterRaisesExceptionLongAttribute; 164 [SetterRaisesException] attribute long setterRaisesExceptionLongAttribute;
162 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // n op for non-interface types 165 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // n op for non-interface types
163 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute; 166 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute;
164 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 167 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
165 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 168 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
166 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 169 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
167 [Reflect, URL] attribute DOMString urlStringAttribute; 170 [Reflect, URL] attribute DOMString urlStringAttribute;
168 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 171 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
169 [Unforgeable] attribute long unforgeableLongAttribute; 172 [Unforgeable] attribute long unforgeableLongAttribute;
170 }; 173 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698