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

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

Issue 257783003: Basic support for unrestricted types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 attribute DOMString stringAttribute; 89 attribute DOMString stringAttribute;
90 attribute DOMTimeStamp domTimeStampAttribute; 90 attribute DOMTimeStamp domTimeStampAttribute;
91 attribute boolean booleanAttribute; 91 attribute boolean booleanAttribute;
92 attribute byte byteAttribute; 92 attribute byte byteAttribute;
93 attribute double doubleAttribute; 93 attribute double doubleAttribute;
94 attribute float floatAttribute; 94 attribute float floatAttribute;
95 attribute long longAttribute; 95 attribute long longAttribute;
96 attribute long long longLongAttribute; 96 attribute long long longLongAttribute;
97 attribute octet octetAttribute; 97 attribute octet octetAttribute;
98 attribute short shortAttribute; 98 attribute short shortAttribute;
99 attribute unrestricted double unrestrictedDoubleAttribute;
100 attribute unrestricted float unrestrictedFloatAttribute;
99 attribute unsigned long unsignedLongAttribute; 101 attribute unsigned long unsignedLongAttribute;
100 attribute unsigned long long unsignedLongLongAttribute; 102 attribute unsigned long long unsignedLongLongAttribute;
101 attribute unsigned short unsignedShortAttribute; 103 attribute unsigned short unsignedShortAttribute;
102 // Interface type 104 // Interface type
103 attribute TestInterfaceEmpty testInterfaceEmptyAttribute; 105 attribute TestInterfaceEmpty testInterfaceEmptyAttribute;
104 // Self-reference 106 // Self-reference
105 attribute TestObject testObjectAttribute; 107 attribute TestObject testObjectAttribute;
106 // Callback function type 108 // Callback function type
107 attribute VoidCallbackFunction voidCallbackFunctionAttribute; 109 attribute VoidCallbackFunction voidCallbackFunctionAttribute;
108 attribute AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyAr gAttribute; 110 attribute AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyAr gAttribute;
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 484 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
483 485
484 // Extended attributes on referenced interfaces 486 // Extended attributes on referenced interfaces
485 // (not self; self-reference tests at interface themselves) 487 // (not self; self-reference tests at interface themselves)
486 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 488 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
487 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 489 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
488 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 490 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
489 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 491 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
490 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 492 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
491 }; 493 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698