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

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

Issue 52353003: IDL compiler: 3 more special types for methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revised Created 7 years, 2 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/methods.cpp ('k') | Source/bindings/tests/results/V8TestObjectPython.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestObjectPython.idl
diff --git a/Source/bindings/tests/idls/TestObjectPython.idl b/Source/bindings/tests/idls/TestObjectPython.idl
index 037ac95c8d324c316adbab347503675f55a5870f..91264966fdb18e9499048faf93ffcebcae597ee9 100644
--- a/Source/bindings/tests/idls/TestObjectPython.idl
+++ b/Source/bindings/tests/idls/TestObjectPython.idl
@@ -61,8 +61,9 @@ interface TestObjectPython {
attribute NodeFilter nodeFilterAttribute;
attribute SerializedScriptValue serializedScriptValueAttribute;
attribute any anyAttribute;
- // Special V8 -> C++ types (RefPtr exceptions, special conversion)
+ // Special type conversions
attribute DOMStringList domStringListAttribute;
+ attribute Promise promiseAttribute;
// DOM Node types
attribute Document documentAttribute;
attribute DocumentFragment documentFragmentAttribute;
@@ -97,9 +98,8 @@ interface TestObjectPython {
// Constructors
// attribute attribute TestSubObjConstructor TestSubObj;
attribute TestObjectAConstructor testObjectAConstructorAttribute;
- // Miscellaneous special types
+ // Special types
attribute EventHandler eventHandlerAttribute;
- attribute Promise promiseAttribute;
// Extended attributes
[ActivityLogging=AccessForAllWorlds] attribute long activityLoggingAccessForAllWorldsLongAttribute;
@@ -207,6 +207,15 @@ interface TestObjectPython {
TestInterfaceEmpty testInterfaceEmptyMethod();
void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
void voidMethodLongArgTestInterfaceEmptyArg(long longArg, TestInterfaceEmpty testInterfaceEmptyArg);
+ // Special type conversions
+ CompareHow compareHowMethod();
+ DOMStringList domStringListMethod();
+ MediaQueryListListener mediaQueryListListenerMethod();
+ any anyMethod();
+ void voidMethodMediaQueryListListenerArg(MediaQueryListListener mediaQueryListListenerArg);
+ void voidMethodCompareHowArg(CompareHow compareHowArg);
+ void voidMethodDOMStringListArg(DOMStringList domStringListArg);
+ void voidMethodAnyArg(any anyArg);
// DOM node types
void voidMethodAttrArg(Attr attrArg);
void voidMethodDocumentArg(Document documentArg);
@@ -241,12 +250,12 @@ interface TestObjectPython {
// Enumerations
TestEnum testEnumMethod();
void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
- // Miscellaneous special types
- DOMStringList domStringListMethod();
+ // Special types
+ Dictionary dictionaryMethod();
NodeFilter nodeFilterMethod();
SerializedScriptValue serializedScriptValueMethod();
XPathNSResolver xPathNSResolverMethod();
- void voidMethodDOMStringListArg(DOMStringList domStringListArg);
+ void voidMethodDictionaryArg(Dictionary dictionaryArg);
void voidMethodNodeFilterArg(NodeFilter nodeFilterArg);
void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScriptValueArg);
void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg);
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestObjectPython.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698