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

Unified Diff: third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl

Issue 2653093002: [bindings] Allow dictionary and union types to be returned from static methods. (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl
index 1449a22965948267aae40afc9abd451fc64ce273..802508d85094b7263a2a47ab0b9b8ff1fd5bbdb5 100644
--- a/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl
@@ -324,6 +324,7 @@ interface TestObject {
(TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOrDOMStringMethod();
(boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrictedDoubleMethod();
(TestInterface or long) testInterfaceOrLongMethod();
+ static (TestInterfaceGarbageCollected or DOMString) staticTestInterfaceGarbageCollectedOrDOMStringMethod();
void voidMethodDoubleOrDOMStringArg((double or DOMString) arg);
void voidMethodDoubleOrDOMStringOrNullArg((double or DOMString)? arg);
void voidMethodDoubleOrNullOrDOMStringArg((double? or DOMString) arg);
@@ -345,6 +346,8 @@ interface TestObject {
Dictionary dictionaryMethod();
TestDictionary testDictionaryMethod();
TestDictionary? nullableTestDictionaryMethod();
+ static TestDictionary staticTestDictionaryMethod();
+ static TestDictionary? staticNullableTestDictionaryMethod();
void passPermissiveDictionaryMethod([PermissiveDictionaryConversion] optional TestDictionary arg);
NodeFilter nodeFilterMethod();
Promise<void> promiseMethod(long arg1, Dictionary arg2, DOMString arg3, DOMString... variadic);

Powered by Google App Engine
This is Rietveld 408576698