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

Side by Side Diff: Source/bindings/tests/idls/TestObject.idl

Issue 74533003: Add Perl IDL support for method parameter type sequence<Dictionary> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review changes Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary formstrArg, with or without 5 * Redistribution and use in source and binary formstrArg, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 TestObject objMethodWithArgs(long longArg, DOMString strArg, TestObject objA rg); 86 TestObject objMethodWithArgs(long longArg, DOMString strArg, TestObject objA rg);
87 87
88 void methodWithSequenceArg(sequence<TestInterface> sequenceArg); 88 void methodWithSequenceArg(sequence<TestInterface> sequenceArg);
89 sequence<TestInterface> methodReturningSequence(long longArg); 89 sequence<TestInterface> methodReturningSequence(long longArg);
90 90
91 void methodWithEnumArg(TestEnumType enumArg); 91 void methodWithEnumArg(TestEnumType enumArg);
92 [RaisesException] TestObject methodThatRequiresAllArgsAndThrows(DOMString st rArg, TestObject objArg); 92 [RaisesException] TestObject methodThatRequiresAllArgsAndThrows(DOMString st rArg, TestObject objArg);
93 93
94 void serializedValue(SerializedScriptValue serializedArg); 94 void serializedValue(SerializedScriptValue serializedArg);
95 void optionsObject(Dictionary oo, optional Dictionary ooo); 95 void optionsObject(Dictionary oo, optional Dictionary ooo);
96 void optionsObjectList(sequence<Dictionary> list);
96 97
97 // Indexed/named properties 98 // Indexed/named properties
98 [ImplementedAs=item] getter Node (unsigned long index); 99 [ImplementedAs=item] getter Node (unsigned long index);
99 [ImplementedAs=namedItem] getter DOMString (DOMString name); 100 [ImplementedAs=namedItem] getter DOMString (DOMString name);
100 101
101 // Exceptions 102 // Exceptions
102 [RaisesException] void methodWithException(); 103 [RaisesException] void methodWithException();
103 [RaisesException=Getter] attribute long attrWithGetterException; 104 [RaisesException=Getter] attribute long attrWithGetterException;
104 [RaisesException=Setter] attribute long attrWithSetterException; 105 [RaisesException=Setter] attribute long attrWithSetterException;
105 [RaisesException=Getter] attribute DOMString stringAttrWithGetterException; 106 [RaisesException=Getter] attribute DOMString stringAttrWithGetterException;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; 300 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1;
300 301
301 // PutForwards 302 // PutForwards
302 [PutForwards=href] readonly attribute TestNode location; 303 [PutForwards=href] readonly attribute TestNode location;
303 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; 304 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException;
304 }; 305 };
305 306
306 // The following comment should not generate any code 307 // The following comment should not generate any code
307 // TestObject implements TestImplements; 308 // TestObject implements TestImplements;
308 309
OLDNEW
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698