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

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

Issue 15821017: Use "Constructor" prefix for IDL extended attributes applying to the constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary formstrArg, with or without 4 * Redistribution and use in source and binary formstrArg, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 // This IDL file is for testing the bindings code generator and for tracking 29 // This IDL file is for testing the bindings code generator and for tracking
30 // changes in its ouput. 30 // changes in its ouput.
31 [ 31 [
32 ActiveDOMObject, 32 ActiveDOMObject,
33 Conditional=Condition1|Condition2, 33 Conditional=Condition1|Condition2,
34 CallWith=ScriptExecutionContext, 34 ConstructorCallWith=ScriptExecutionContext,
35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2), 35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2),
36 RaisesException 36 ConstructorRaisesException
37 ] interface TestInterface { 37 ] interface TestInterface {
38 [ImplementedAs=getItem] getter (Node or NodeList)(DOMString name); 38 [ImplementedAs=getItem] getter (Node or NodeList)(DOMString name);
39 [Custom] setter Node (DOMString name, Node value); 39 [Custom] setter Node (DOMString name, Node value);
40 }; 40 };
OLDNEW
« no previous file with comments | « Source/bindings/scripts/IDLAttributes.txt ('k') | Source/bindings/tests/idls/TestNamedConstructor.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698