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

Side by Side Diff: sky/engine/bindings/tests/idls/TestObject.idl

Issue 683593002: Remove GarbageCollected support from the bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customSetterImplementedAsLongAttribute; 179 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customSetterImplementedAsLongAttribute;
180 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; 180 [MeasureAs=TestFeature] attribute long measureAsLongAttribute;
181 [NotEnumerable] attribute long notEnumerableLongAttribute; 181 [NotEnumerable] attribute long notEnumerableLongAttribute;
182 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea donlyTestInterfaceEmptyAttribute; 182 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea donlyTestInterfaceEmptyAttribute;
183 [PutForwards=href] readonly attribute TestNode location; 183 [PutForwards=href] readonly attribute TestNode location;
184 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; 184 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException;
185 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; 185 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith;
186 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString; 186 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString;
187 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings; 187 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings;
188 [TypeChecking=Interface, PutForwards=href] readonly attribute TestNode locat ionTypeCheckingInterface; 188 [TypeChecking=Interface, PutForwards=href] readonly attribute TestNode locat ionTypeCheckingInterface;
189 [PutForwards=attr1] readonly attribute TestInterfaceGarbageCollected locatio nGarbageCollected;
190 [PutForwards=attr1] readonly attribute TestInterfaceWillBeGarbageCollected l ocationWillBeGarbageCollected;
191 [RaisesException] attribute long raisesExceptionLongAttribute; 189 [RaisesException] attribute long raisesExceptionLongAttribute;
192 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute; 190 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute;
193 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute; 191 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute;
194 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE mptyAttribute; 192 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE mptyAttribute;
195 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut eRaisesExceptionGetterAnyAttribute; 193 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut eRaisesExceptionGetterAnyAttribute;
196 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; 194 [Reflect] attribute TestInterface reflectTestInterfaceAttribute;
197 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam eAttributeTestAttribute; 195 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam eAttributeTestAttribute;
198 // [Reflect] exceptional types: exceptional getters, exceptional setters, 196 // [Reflect] exceptional types: exceptional getters, exceptional setters,
199 // or range checking for unsigned 197 // or range checking for unsigned
200 [Reflect] attribute boolean reflectBooleanAttribute; 198 [Reflect] attribute boolean reflectBooleanAttribute;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); 328 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod();
331 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); 329 void voidMethodSequenceLongArg(sequence<long> longSequenceArg);
332 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); 330 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg);
333 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg); 331 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg);
334 // Nullable types 332 // Nullable types
335 long? nullableLongMethod(); 333 long? nullableLongMethod();
336 DOMString? nullableStringMethod(); 334 DOMString? nullableStringMethod();
337 TestInterface? nullableTestInterfaceMethod(); 335 TestInterface? nullableTestInterfaceMethod();
338 sequence<long>? nullableLongSequenceMethod(); 336 sequence<long>? nullableLongSequenceMethod();
339 // Union types 337 // Union types
340 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod();
341 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod();
342 (sequence<long> or DOMString[] or unrestricted double) longSequenceOrDOMStri ngArrayOrUnrestrictedDoubleMethod(); 338 (sequence<long> or DOMString[] or unrestricted double) longSequenceOrDOMStri ngArrayOrUnrestrictedDoubleMethod();
343 // Currently only used on interface type arguments 339 // Currently only used on interface type arguments
344 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg); 340 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg);
345 // Callback interface types 341 // Callback interface types
346 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 342 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
347 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 343 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
348 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 344 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
349 // Enumerations 345 // Enumerations
350 TestEnum testEnumMethod(); 346 TestEnum testEnumMethod();
351 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 347 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f alse); 384 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f alse);
389 void voidMethodDefaultNullableByteStringArg(optional ByteString? defaultStri ngArg = null); 385 void voidMethodDefaultNullableByteStringArg(optional ByteString? defaultStri ngArg = null);
390 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg = null); 386 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg = null);
391 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau ltTestInterfaceArg = null); 387 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau ltTestInterfaceArg = null);
392 388
393 // Variadic operations 389 // Variadic operations
394 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); 390 void voidMethodVariadicStringArg(DOMString... variadicStringArgs);
395 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString... variadicStringArgs); 391 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString... variadicStringArgs);
396 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT estInterfaceEmptyArgs); 392 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT estInterfaceEmptyArgs);
397 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty Args); 393 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty Args);
398 void voidMethodVariadicTestInterfaceGarbageCollectedArg(TestInterfaceGarbage Collected... variadicTestInterfaceGarbageCollectedArg);
399 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg);
400 394
401 // Overloaded methods 395 // Overloaded methods
402 void overloadedMethodA(long longArg); 396 void overloadedMethodA(long longArg);
403 void overloadedMethodA(long longArg1, long longArg2); 397 void overloadedMethodA(long longArg1, long longArg2);
404 void overloadedMethodB(long longArg); 398 void overloadedMethodB(long longArg);
405 void overloadedMethodB(DOMString stringArg, optional long longArg); 399 void overloadedMethodB(DOMString stringArg, optional long longArg);
406 void overloadedMethodC(long longArg); 400 void overloadedMethodC(long longArg);
407 void overloadedMethodC(TestInterfaceEmpty testInterfaceEmptyArg); 401 void overloadedMethodC(TestInterfaceEmpty testInterfaceEmptyArg);
408 void overloadedMethodD(long longArg); 402 void overloadedMethodD(long longArg);
409 void overloadedMethodD(long[] longArrayArg); 403 void overloadedMethodD(long[] longArrayArg);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); 489 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
496 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); 490 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
497 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt eStringMethod(); 491 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt eStringMethod();
498 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn definedByteStringMethod(); 492 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn definedByteStringMethod();
499 [TreatReturnedNullStringAs=Null] ScalarValueString treatReturnedNullStringAs NullScalarValueStringMethod(); 493 [TreatReturnedNullStringAs=Null] ScalarValueString treatReturnedNullStringAs NullScalarValueStringMethod();
500 [TreatReturnedNullStringAs=Undefined] ScalarValueString treatReturnedNullStr ingAsUndefinedScalarValueStringMethod(); 494 [TreatReturnedNullStringAs=Undefined] ScalarValueString treatReturnedNullStr ingAsUndefinedScalarValueStringMethod();
501 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); 495 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
502 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg); 496 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg);
503 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD oubleArg(float floatArg, double doubleArg); 497 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD oubleArg(float floatArg, double doubleArg);
504 [Unforgeable] void unforgeableVoidMethod(); 498 [Unforgeable] void unforgeableVoidMethod();
505 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg);
506 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg);
507 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
508 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
509 499
510 // Extended attributes on referenced interfaces 500 // Extended attributes on referenced interfaces
511 // (not self; self-reference tests at interface themselves) 501 // (not self; self-reference tests at interface themselves)
512 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 502 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
513 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
514 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
515 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
516 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
517 503
518 // Private scripts 504 // Private scripts
519 [ImplementedInPrivateScript] void voidMethodImplementedInPrivateScript(); 505 [ImplementedInPrivateScript] void voidMethodImplementedInPrivateScript();
520 [ImplementedInPrivateScript] short shortMethodImplementedInPrivateScript(); 506 [ImplementedInPrivateScript] short shortMethodImplementedInPrivateScript();
521 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value); 507 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value);
522 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value); 508 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value);
523 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value); 509 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value);
524 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string); 510 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string);
525 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 511 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
526 [ImplementedInPrivateScript] attribute short shortAttribute; 512 [ImplementedInPrivateScript] attribute short shortAttribute;
527 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 513 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
528 [ImplementedInPrivateScript] attribute Node nodeAttribute; 514 [ImplementedInPrivateScript] attribute Node nodeAttribute;
529 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 515 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
530 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 516 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
531 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 517 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
532 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 518 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
533 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 519 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
534 }; 520 };
OLDNEW
« no previous file with comments | « sky/engine/bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl ('k') | sky/engine/core/animation/AnimationEffect.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698