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

Unified Diff: Source/bindings/tests/idls/TestImplements.idl

Issue 142923002: IDL compiler: implements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove re changes Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/scripts/unstable/v8_methods.py ('k') | Source/bindings/tests/idls/TestInterfacePython.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestImplements.idl
diff --git a/Source/bindings/tests/idls/TestImplements.idl b/Source/bindings/tests/idls/TestImplements.idl
index 5a6560c2a81dbdf129216b8598a5b9025cb879e4..b86fa6f38a0705b90c883c214e04140a408a83cf 100644
--- a/Source/bindings/tests/idls/TestImplements.idl
+++ b/Source/bindings/tests/idls/TestImplements.idl
@@ -26,25 +26,23 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// This IDL file is for testing the bindings code generator and for tracking
-// changes in its ouput.
-interface TestImplements {
- static readonly attribute long implementsStaticReadOnlyAttr;
- static attribute DOMString implementsStaticAttr;
- readonly attribute DOMString implementsStr1;
- attribute DOMString implementsStr2;
- [Custom] attribute DOMString implementsStr3;
- attribute Node implementsNode;
- attribute EventHandler eventHandlerAttribute;
+[
+ NoInterfaceObject, // Always used on target of 'implements'
+] interface TestImplements {
+ static readonly attribute long implementsStaticReadOnlyLongAttribute;
+ static attribute DOMString implementsStaticStringAttribute;
+ readonly attribute DOMString implementsReadonlyStringAttribute;
+ attribute DOMString implementsStringAttribute;
+ attribute Node implementsNodeAttribute;
+ attribute EventHandler implementsEventHandlerAttribute;
- void implementsMethod1();
- [CallWith=ExecutionContext, RaisesException] TestObject implementsMethod2(DOMString strArg, TestObject objArg);
- [Custom] void implementsMethod3();
- static void implementsMethod4();
+ void implementsVoidMethod();
+ [CallWith=ExecutionContext, RaisesException] TestInterfaceEmpty implementsComplexMethod(DOMString strArg, TestInterfaceEmpty testInterfaceEmptyArg);
+ [Custom] void implementsCustomVoidMethod();
+ static void implementsStaticVoidMethod();
- const unsigned short IMPLEMENTSCONSTANT1 = 1;
- [Reflect=CONST_IMPL] const unsigned short IMPLEMENTSCONSTANT2 = 2;
+ const unsigned short IMPLEMENTS_CONSTANT_1 = 1;
+ [Reflect=IMPLEMENTS_REFLECT_CONSTANT] const unsigned short IMPLEMENTS_CONSTANT_2 = 2;
- [RuntimeEnabled=FeatureName23] attribute Node Node23;
- [PerContextEnabled=FeatureName24] attribute Node Node24;
+ [RuntimeEnabled=ImplementsFeatureName] attribute Node implementsRuntimeEnabledNodeAttribute;
};
« no previous file with comments | « Source/bindings/scripts/unstable/v8_methods.py ('k') | Source/bindings/tests/idls/TestInterfacePython.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698