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

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

Issue 1004503004: IDL: Add support for serializer definitions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@V8ObjectBuilder
Patch Set: Created 5 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
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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithNulla bleArg(Node node1, Node? node2); 571 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithNulla bleArg(Node node1, Node? node2);
572 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithUndef inedArg(Node node1, [Default=Undefined] optional Node node2); 572 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithUndef inedArg(Node node1, [Default=Undefined] optional Node node2);
573 void typeCheckingUnrestrictedVoidMethodFloatArgDoubleArg(float floatArg, dou ble doubleArg); 573 void typeCheckingUnrestrictedVoidMethodFloatArgDoubleArg(float floatArg, dou ble doubleArg);
574 [Unforgeable] void unforgeableVoidMethod(); 574 [Unforgeable] void unforgeableVoidMethod();
575 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); 575 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg);
576 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg); 576 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg);
577 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); 577 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
578 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 578 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
579 [NewObject] TestInterface newObjectTestInterfaceMethod(); 579 [NewObject] TestInterface newObjectTestInterfaceMethod();
580 580
581 serializer DOMString serializerMethod();
582
581 // Extended attributes on referenced interfaces 583 // Extended attributes on referenced interfaces
582 // (not self; self-reference tests at interface themselves) 584 // (not self; self-reference tests at interface themselves)
583 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 585 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
584 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 586 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
585 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 587 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
586 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 588 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
587 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 589 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
588 590
589 // Private scripts 591 // Private scripts
590 [ImplementedInPrivateScript] void voidMethodImplementedInPrivateScript(); 592 [ImplementedInPrivateScript] void voidMethodImplementedInPrivateScript();
591 [ImplementedInPrivateScript] short shortMethodImplementedInPrivateScript(); 593 [ImplementedInPrivateScript] short shortMethodImplementedInPrivateScript();
592 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value); 594 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value);
593 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value); 595 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value);
594 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value); 596 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value);
595 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string); 597 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string);
596 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 598 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
597 [ImplementedInPrivateScript] attribute short shortAttribute; 599 [ImplementedInPrivateScript] attribute short shortAttribute;
598 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 600 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
599 [ImplementedInPrivateScript] attribute Node nodeAttribute; 601 [ImplementedInPrivateScript] attribute Node nodeAttribute;
600 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 602 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
601 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 603 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
602 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 604 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
603 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 605 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
604 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 606 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
605 607
606 maplike<long, DOMStringOrDouble>; 608 maplike<long, DOMStringOrDouble>;
607 }; 609 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698