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

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

Issue 217053007: Revert of Make DOMWrapperWorld::current() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert 213543004 too Created 6 years, 9 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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"}; 31 enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"};
32 32
33 callback VoidCallbackFunction = void (); 33 callback VoidCallbackFunction = void ();
34 callback AnyCallbackFunctionOptionalAnyArg = any (optional any optionalAnyArg); 34 callback AnyCallbackFunctionOptionalAnyArg = any (optional any optionalAnyArg);
35 35
36 // No extended attributes on the interface; those go in TestInterface.idl 36 // No extended attributes on the interface; those go in TestInterface.idl
37 interface TestObject { 37 interface TestObjectPython {
38 // Constants 38 // Constants
39 const unsigned short CONST_VALUE_0 = 0; 39 const unsigned short CONST_VALUE_0 = 0;
40 const unsigned short CONST_VALUE_1 = 1; 40 const unsigned short CONST_VALUE_1 = 1;
41 const unsigned short CONST_VALUE_2 = 2; 41 const unsigned short CONST_VALUE_2 = 2;
42 const unsigned short CONST_VALUE_4 = 4; 42 const unsigned short CONST_VALUE_4 = 4;
43 const unsigned short CONST_VALUE_8 = 8; 43 const unsigned short CONST_VALUE_8 = 8;
44 const short CONST_VALUE_9 = -1; 44 const short CONST_VALUE_9 = -1;
45 const DOMString CONST_VALUE_10 = "my constant string"; 45 const DOMString CONST_VALUE_10 = "my constant string";
46 const unsigned short CONST_VALUE_11 = 0xffffffff; 46 const unsigned short CONST_VALUE_11 = 0xffffffff;
47 const unsigned short CONST_VALUE_12 = 0x01; 47 const unsigned short CONST_VALUE_12 = 0x01;
(...skipping 22 matching lines...) Expand all
70 // 70 //
71 // TestInterfaceEmpty is used as a stub interface type, for testing behavior 71 // TestInterfaceEmpty is used as a stub interface type, for testing behavior
72 // that should not depend on particular type (beyond "interface or not"). 72 // that should not depend on particular type (beyond "interface or not").
73 // read only 73 // read only
74 readonly attribute DOMString readonlyStringAttribute; 74 readonly attribute DOMString readonlyStringAttribute;
75 readonly attribute TestInterfaceEmpty readonlyTestInterfaceEmptyAttribute; 75 readonly attribute TestInterfaceEmpty readonlyTestInterfaceEmptyAttribute;
76 readonly attribute long readonlyLongAttribute; 76 readonly attribute long readonlyLongAttribute;
77 // Basic types 77 // Basic types
78 attribute Date dateAttribute; 78 attribute Date dateAttribute;
79 attribute DOMString stringAttribute; 79 attribute DOMString stringAttribute;
80 attribute DOMTimeStamp domTimeStampAttribute; 80 readonly attribute DOMTimeStamp readonlyDOMTimeStampAttribute; // FIXME: Per l CG doesn't translate typedef DOMTimeStamp -> unsigned long long; remove readon ly once moved to Python-only
81 attribute boolean booleanAttribute; 81 attribute boolean booleanAttribute;
82 attribute byte byteAttribute; 82 attribute byte byteAttribute;
83 attribute double doubleAttribute; 83 attribute double doubleAttribute;
84 attribute float floatAttribute; 84 attribute float floatAttribute;
85 attribute long longAttribute; 85 attribute long longAttribute;
86 attribute long long longLongAttribute; 86 attribute long long longLongAttribute;
87 attribute octet octetAttribute; 87 attribute octet octetAttribute;
88 attribute short shortAttribute; 88 attribute short shortAttribute;
89 attribute unsigned long unsignedLongAttribute; 89 attribute unsigned long unsignedLongAttribute;
90 attribute unsigned long long unsignedLongLongAttribute; 90 attribute unsigned long long unsignedLongLongAttribute;
91 attribute unsigned short unsignedShortAttribute; 91 attribute unsigned short unsignedShortAttribute;
92 // Interface type 92 // Interface type
93 attribute TestInterfaceEmpty testInterfaceEmptyAttribute; 93 attribute TestInterfaceEmpty testInterfaceEmptyAttribute;
94 // Self-reference 94 // Self-reference
95 attribute TestObject testObjectAttribute; 95 attribute TestObjectPython testObjectPythonAttribute;
96 // Callback function type 96 // Callback function type
97 attribute VoidCallbackFunction voidCallbackFunctionAttribute; 97 attribute VoidCallbackFunction voidCallbackFunctionAttribute;
98 attribute AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyAr gAttribute; 98 attribute AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyAr gAttribute;
99 // Names that begin with an acronym 99 // Names that begin with an acronym
100 attribute long cssAttribute; 100 attribute long cssAttribute;
101 attribute long imeAttribute; 101 attribute long imeAttribute;
102 attribute long svgAttribute; 102 attribute long svgAttribute;
103 attribute long xmlAttribute; 103 attribute long xmlAttribute;
104 // Non-wrapper types 104 // Non-wrapper types
105 attribute NodeFilter nodeFilterAttribute; 105 attribute NodeFilter nodeFilterAttribute;
(...skipping 26 matching lines...) Expand all
132 attribute float[] floatArrayAttribute; 132 attribute float[] floatArrayAttribute;
133 // Nullable attributes 133 // Nullable attributes
134 attribute DOMString? stringOrNullAttribute; 134 attribute DOMString? stringOrNullAttribute;
135 attribute long? longOrNullAttribute; 135 attribute long? longOrNullAttribute;
136 attribute TestInterface? testInterfaceOrNullAttribute; 136 attribute TestInterface? testInterfaceOrNullAttribute;
137 // Enumerations 137 // Enumerations
138 attribute TestEnum testEnumAttribute; 138 attribute TestEnum testEnumAttribute;
139 // Static attributes 139 // Static attributes
140 static attribute DOMString staticStringAttribute; 140 static attribute DOMString staticStringAttribute;
141 static attribute long staticLongAttribute; 141 static attribute long staticLongAttribute;
142 // Constructors
143 attribute TestObjectAConstructor testObjectAConstructorAttribute;
142 // Exceptional type 144 // Exceptional type
143 attribute EventHandler eventHandlerAttribute; 145 attribute EventHandler eventHandlerAttribute;
144 146
145 // Extended attributes 147 // Extended attributes
146 [ActivityLogging=ForAllWorlds] attribute long activityLoggingAccessForAllWor ldsLongAttribute; 148 [ActivityLogging=ForAllWorlds] attribute long activityLoggingAccessForAllWor ldsLongAttribute;
147 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor AllWorldsLongAttribute; 149 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor AllWorldsLongAttribute;
148 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor AllWorldsLongAttribute; 150 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor AllWorldsLongAttribute;
149 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; 151 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
150 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te; 152 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te;
151 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only 153 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only
152 [Conditional=CONDITION] attribute long conditionalLongAttribute; 154 [Conditional=CONDITION] attribute long conditionalLongAttribute;
153 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri bute; 155 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri bute;
154 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute; 156 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute;
155 // Constructors: FIXME: replace suffix with [ConstructorAttribute]
156 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu te;
157 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute;
158 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea tureNameTestInterfaceEmptyConstructorAttribute;
159 [Custom] attribute object customObjectAttribute; 157 [Custom] attribute object customObjectAttribute;
160 [Custom=Getter] attribute long customGetterLongAttribute; 158 [Custom=Getter] attribute long customGetterLongAttribute;
161 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut e; 159 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut e;
162 [Custom=Setter] attribute long customSetterLongAttribute; 160 [Custom=Setter] attribute long customSetterLongAttribute;
163 [Conditional=CONDITION, Custom] attribute long customLongAttribute; 161 [Conditional=CONDITION, Custom] attribute long customLongAttribute;
164 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead onlyLongAttribute; 162 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead onlyLongAttribute;
165 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; 163 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute;
166 [EnforceRange] attribute long enforceRangeLongAttribute; 164 [EnforceRange] attribute long enforceRangeLongAttribute;
167 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute; 165 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute;
168 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; 166 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // [Reflect] exceptional names 198 // [Reflect] exceptional names
201 [Reflect] attribute DOMString id; 199 [Reflect] attribute DOMString id;
202 [Reflect] attribute DOMString name; 200 [Reflect] attribute DOMString name;
203 [Reflect] attribute DOMString class; 201 [Reflect] attribute DOMString class;
204 [Reflect=id] attribute DOMString reflectedId; 202 [Reflect=id] attribute DOMString reflectedId;
205 [Reflect=name] attribute DOMString reflectedName; 203 [Reflect=name] attribute DOMString reflectedName;
206 [Reflect=class] attribute DOMString reflectedClass; 204 [Reflect=class] attribute DOMString reflectedClass;
207 // Limited value attributes and enumerated attributes 205 // Limited value attributes and enumerated attributes
208 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e; 206 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e;
209 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl yAttribute; 207 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl yAttribute;
210 [Reflect=other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT oOnlyOtherAttribute; 208 [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT oOnlyOtherAttribute;
211 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute; 209 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString limitedWithMissingDefaultAttribute;
212 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; 210 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
213 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous ", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute ; 211 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous ", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute ;
214 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty=" empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D OMString limitedWithEmptyMissingInvalidAttribute; 212 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty=" empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D OMString limitedWithEmptyMissingInvalidAttribute;
215 213
216 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 214 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
217 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble; 215 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble;
218 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 216 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
219 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute; 217 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
220 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 218 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
221 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute; 219 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute;
222 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 220 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
223 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types 221 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // no p for non-interface types
224 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute; 222 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface Attribute;
225 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 223 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
226 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 224 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
227 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 225 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
228 [Reflect, URL] attribute DOMString urlStringAttribute; 226 [Reflect, URL] attribute DOMString urlStringAttribute;
229 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 227 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
230 [Unforgeable] attribute long unforgeableLongAttribute; 228 [Unforgeable] attribute long unforgeableLongAttribute;
229 [Reflect="ReflectUrlAttributeAsAString"] attribute DOMString anotherStringAt tribute;
231 230
232 231
233 // Methods 232 // Methods
234 // 233 //
235 // Naming convention: 234 // Naming convention:
236 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg); 235 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg);
237 // E.g., 236 // E.g.,
238 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg); 237 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg);
239 void voidMethod(); 238 void voidMethod();
240 static void staticVoidMethod(); 239 static void staticVoidMethod();
(...skipping 10 matching lines...) Expand all
251 long longMethod(); 250 long longMethod();
252 long long longLongMethod(); 251 long long longLongMethod();
253 octet octetMethod(); 252 octet octetMethod();
254 short shortMethod(); 253 short shortMethod();
255 unsigned long unsignedLongMethod(); 254 unsigned long unsignedLongMethod();
256 unsigned long long unsignedLongLongMethod(); 255 unsigned long long unsignedLongLongMethod();
257 unsigned short unsignedShortMethod(); 256 unsigned short unsignedShortMethod();
258 257
259 void voidMethodDateArg(Date dateArg); 258 void voidMethodDateArg(Date dateArg);
260 void voidMethodStringArg(DOMString stringArg); 259 void voidMethodStringArg(DOMString stringArg);
261 void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); 260 // void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); // FIXME: P erl CG doesn't translate typedef DOMTimeStamp -> unsigned long long; uncomment o nce moved to Python-only
262 void voidMethodBooleanArg(boolean booleanArg); 261 void voidMethodBooleanArg(boolean booleanArg);
263 void voidMethodByteArg(byte byteArg); 262 void voidMethodByteArg(byte byteArg);
264 void voidMethodDoubleArg(double doubleArg); 263 void voidMethodDoubleArg(double doubleArg);
265 void voidMethodFloatArg(float floatArg); 264 void voidMethodFloatArg(float floatArg);
266 void voidMethodLongArg(long longArg); 265 void voidMethodLongArg(long longArg);
267 void voidMethodLongLongArg(long long longLongArg); 266 void voidMethodLongLongArg(long long longLongArg);
268 void voidMethodOctetArg(octet octetArg); 267 void voidMethodOctetArg(octet octetArg);
269 void voidMethodShortArg(short shortArg); 268 void voidMethodShortArg(short shortArg);
270 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg); 269 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg);
271 void voidMethodUnsignedLongLongArg(unsigned long long unsignedLongLongArg); 270 void voidMethodUnsignedLongLongArg(unsigned long long unsignedLongLongArg);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 NodeFilter nodeFilterMethod(); 332 NodeFilter nodeFilterMethod();
334 Promise promiseMethod(); 333 Promise promiseMethod();
335 SerializedScriptValue serializedScriptValueMethod(); 334 SerializedScriptValue serializedScriptValueMethod();
336 XPathNSResolver xPathNSResolverMethod(); 335 XPathNSResolver xPathNSResolverMethod();
337 void voidMethodDictionaryArg(Dictionary dictionaryArg); 336 void voidMethodDictionaryArg(Dictionary dictionaryArg);
338 void voidMethodEventListenerArg(EventListener eventListenerArg); 337 void voidMethodEventListenerArg(EventListener eventListenerArg);
339 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); 338 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg);
340 void voidMethodPromiseArg(Promise promiseArg); 339 void voidMethodPromiseArg(Promise promiseArg);
341 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg); 340 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg);
342 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); 341 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg);
343 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg); 342 void voidMethodSequenceDictionaryArg(sequence<Dictionary> dictionarySequence Arg);
344 343
345 // Arguments 344 // Arguments
346 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); 345 void voidMethodStringArgLongArg(DOMString stringArg, long longArg);
347 // Optional arguments 346 // Optional arguments
348 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); 347 void voidMethodOptionalStringArg(optional DOMString optionalStringArg);
349 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt ionalTestInterfaceEmptyArg); 348 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt ionalTestInterfaceEmptyArg);
350 void voidMethodOptionalLongArg(optional long optionalLongArg); 349 void voidMethodOptionalLongArg(optional long optionalLongArg);
351 DOMString stringMethodOptionalLongArg(optional long optionalLongArg); 350 DOMString stringMethodOptionalLongArg(optional long optionalLongArg);
352 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt ionalLongArg); 351 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt ionalLongArg);
353 long longMethodOptionalLongArg(optional long optionalLongArg); 352 long longMethodOptionalLongArg(optional long optionalLongArg);
(...skipping 22 matching lines...) Expand all
376 void overloadedMethodD(long longArg); 375 void overloadedMethodD(long longArg);
377 void overloadedMethodD(TestInterfaceEmpty testInterfaceEmptyArg); 376 void overloadedMethodD(TestInterfaceEmpty testInterfaceEmptyArg);
378 void overloadedMethodE(long longArg); 377 void overloadedMethodE(long longArg);
379 void overloadedMethodE(long[] longArrayArg); 378 void overloadedMethodE(long[] longArrayArg);
380 void overloadedMethodF(long longArg); 379 void overloadedMethodF(long longArg);
381 void overloadedMethodF(TestInterfaceEmpty? testInterfaceEmptyNullableArg); 380 void overloadedMethodF(TestInterfaceEmpty? testInterfaceEmptyNullableArg);
382 void overloadedMethodG(); 381 void overloadedMethodG();
383 void overloadedMethodG([StrictTypeChecking] DOMString strictTypeCheckingStri ngArg); 382 void overloadedMethodG([StrictTypeChecking] DOMString strictTypeCheckingStri ngArg);
384 void overloadedMethodH(); 383 void overloadedMethodH();
385 void overloadedMethodH(TestCallbackInterface testCallbackInterfaceArg); 384 void overloadedMethodH(TestCallbackInterface testCallbackInterfaceArg);
386 // FIXME: Should be in order double, Dictionary, but Blink implementation of
387 // overload resolution can't handle this. http://crbug.com/293561
388 void overloadedMethodI(Dictionary dictionaryArg); // Non-wrapper type
389 void overloadedMethodI(double doubleArg);
390
391 385
392 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); 386 [PerWorldBindings] void overloadedPerWorldBindingsMethod();
393 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); 387 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg);
394 388
395 static void overloadedStaticMethod(long longArg); 389 static void overloadedStaticMethod(long longArg);
396 static void overloadedStaticMethod(long longArg1, long longArg2); 390 static void overloadedStaticMethod(long longArg1, long longArg2);
397 391
398 // Extended attributes for arguments 392 // Extended attributes for arguments
399 // [Clamp] 393 // [Clamp]
400 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg); 394 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 [PerWorldBindings] void perWorldBindingsVoidMethod(); 430 [PerWorldBindings] void perWorldBindingsVoidMethod();
437 [PerWorldBindings] void perWorldBindingsVoidMethodTestInterfaceEmptyArg(Test InterfaceEmpty testInterfaceEmptyArg); 431 [PerWorldBindings] void perWorldBindingsVoidMethodTestInterfaceEmptyArg(Test InterfaceEmpty testInterfaceEmptyArg);
438 [ActivityLogging=ForAllWorlds, PerWorldBindings] void activityLoggingForAllW orldsPerWorldBindingsVoidMethod(); 432 [ActivityLogging=ForAllWorlds, PerWorldBindings] void activityLoggingForAllW orldsPerWorldBindingsVoidMethod();
439 [ActivityLogging=ForIsolatedWorlds, PerWorldBindings] void activityLoggingFo rIsolatedWorldsPerWorldBindingsVoidMethod(); 433 [ActivityLogging=ForIsolatedWorlds, PerWorldBindings] void activityLoggingFo rIsolatedWorldsPerWorldBindingsVoidMethod();
440 [RaisesException] void raisesExceptionVoidMethod(); 434 [RaisesException] void raisesExceptionVoidMethod();
441 [RaisesException] DOMString raisesExceptionStringMethod(); 435 [RaisesException] DOMString raisesExceptionStringMethod();
442 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg); 436 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg);
443 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg); 437 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg);
444 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); 438 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg);
445 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe thod(); 439 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe thod();
446 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa isesExceptionVoidMethodLongArg(long longArg);
447 [ReadOnly] void readOnlyVoidMethod(); 440 [ReadOnly] void readOnlyVoidMethod();
448 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); 441 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod();
449 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); 442 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod();
450 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod(); 443 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod();
451 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyArg( TestInterfaceEmpty testInterfaceEmptyArg); 444 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyArg( TestInterfaceEmpty testInterfaceEmptyArg);
452 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyOrNu llArg(TestInterfaceEmpty? testInterfaceEmptyArg); 445 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyOrNu llArg(TestInterfaceEmpty? testInterfaceEmptyArg);
453 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); 446 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
454 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); 447 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
455 [Unforgeable] void unforgeableVoidMethod(); 448 [Unforgeable] void unforgeableVoidMethod();
456 // [WillBeGarbageCollected] 449 // [WillBeGarbageCollected]
457 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); 450 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
458 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 451 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
459 452
460 // Extended attributes on referenced interfaces 453 // Extended attributes on referenced interfaces
461 // (not self; self-reference tests at interface themselves) 454 // (not self; self-reference tests at interface themselves)
462 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 455 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA s]
463 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 456 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
464 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 457 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
465 }; 458 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObject.idl ('k') | Source/bindings/tests/idls/TestPartialInterface.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698