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

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

Issue 386963003: [WIP][NotForLand] IDL dictionary support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: sequence and array support Created 6 years, 5 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/tests/idls/TestDictionary.idl ('k') | Source/bindings/tests/results/TestDictionary.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestObject.idl
diff --git a/Source/bindings/tests/idls/TestObject.idl b/Source/bindings/tests/idls/TestObject.idl
index 4f4047aacc2d0358399234ea056d0a17cb593cd8..73ab2fd9c66ef8debf701ff8310e203e4119b035 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -33,16 +33,6 @@ enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"};
callback VoidCallbackFunction = void ();
callback AnyCallbackFunctionOptionalAnyArg = any (optional any optionalAnyArg);
-dictionary TestDict {
- boolean booleanMember;
- long longMember1 = 1;
-};
-
-dictionary TestDictDerived : TestDict {
- unsigned short unsignedShortMember;
- float floatMember4 = 4.0;
-};
-
// No extended attributes on the interface; those go in TestInterface.idl
interface TestObject {
// Constants
@@ -373,6 +363,10 @@ interface TestObject {
// Enumerations
TestEnum testEnumMethod();
void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
+ // Dictionaries
+ TestDictionary testDictionaryMethod();
+ void voidMethodTestDictionaryArg(TestDictionary testDictionaryArg);
+ void voidMethodOptionalTestDictionaryArg(optional TestDictionary optionalTestDictionaryArg);
// Exceptional types
Dictionary dictionaryMethod();
NodeFilter nodeFilterMethod();
« no previous file with comments | « Source/bindings/tests/idls/TestDictionary.idl ('k') | Source/bindings/tests/results/TestDictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698