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

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

Issue 131013002: IDL compiler: EventHandler attributes in Node interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rename 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/templates/attributes.cpp ('k') | Source/bindings/tests/idls/TestNode.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestInterfaceNode.idl
diff --git a/Source/bindings/tests/idls/TestInterfaceCustomConstructor.idl b/Source/bindings/tests/idls/TestInterfaceNode.idl
similarity index 80%
copy from Source/bindings/tests/idls/TestInterfaceCustomConstructor.idl
copy to Source/bindings/tests/idls/TestInterfaceNode.idl
index dba8b7a3c9f8bb54e7210e0b6220e47341426cf5..3dea594253a1a202dc9b7dbebdbed7dd65ad82cb 100644
--- a/Source/bindings/tests/idls/TestInterfaceCustomConstructor.idl
+++ b/Source/bindings/tests/idls/TestInterfaceNode.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ * Copyright (C) 2014 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -29,8 +29,10 @@
*/
[
- CustomConstructor,
- CustomConstructor(TestInterfaceEmpty testInterfaceEmptyArg),
- CustomConstructor(double doubleArg, optional double optionalDoubleArg),
-] interface TestInterfaceCustomConstructor {
+ DependentLifetime, // FIXME: should inherit from Node
+] interface TestInterfaceNode : Node {
+ attribute DOMString stringAttribute;
+ attribute EventHandler eventHandlerAttribute;
+ // [Reflect] attribute DOMString reflectStringAttribute;
+ // [Reflect, URL] attribute DOMString reflectUrlStringAttribute;
};
« no previous file with comments | « Source/bindings/templates/attributes.cpp ('k') | Source/bindings/tests/idls/TestNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698