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

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

Issue 112383002: IDL compiler: sync Python to r163665 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New test results Created 7 years 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 // This IDL file is for testing the bindings code generator and for tracking 31 // This IDL file is for testing the bindings code generator and for tracking
32 // changes in its ouput. 32 // changes in its ouput.
33 33
34 [ 34 [
35 Constructor(STRING hello, TEST_CALLBACK testCallback) 35 Constructor(STRING hello, TEST_CALLBACK_INTERFACE testCallbackInterface)
36 ] interface TestTypedefs { 36 ] interface TestTypedefs {
37 attribute ULONGLONG unsignedLongLongAttr; 37 attribute ULONGLONG unsignedLongLongAttr;
38 38
39 [Immutable] attribute SCRIPT_VALUE immutableSerializedScriptValue; 39 [Immutable] attribute SCRIPT_VALUE immutableSerializedScriptValue;
40 40
41 static readonly attribute T TestSubObj; 41 static readonly attribute T TestSubObj;
42 42
43 [StrictTypeChecking] void func(optional ARRAY_OF_LONGS x); 43 [StrictTypeChecking] void func(optional ARRAY_OF_LONGS x);
44 44
45 void setShadow(DOUBLE width, DOUBLE height, float blur, [StrictTypeChecking] optional STRING color, optional DOUBLE alpha); 45 void setShadow(DOUBLE width, DOUBLE height, float blur, [StrictTypeChecking] optional STRING color, optional DOUBLE alpha);
(...skipping 15 matching lines...) Expand all
61 [RaisesException=Setter] attribute DOMString stringAttrWithSetterException; 61 [RaisesException=Setter] attribute DOMString stringAttrWithSetterException;
62 }; 62 };
63 63
64 typedef float DOUBLE; 64 typedef float DOUBLE;
65 typedef unsigned long long ULONGLONG; 65 typedef unsigned long long ULONGLONG;
66 typedef SerializedScriptValue SCRIPT_VALUE; 66 typedef SerializedScriptValue SCRIPT_VALUE;
67 typedef long[] ARRAY_OF_LONGS; 67 typedef long[] ARRAY_OF_LONGS;
68 typedef SVGPoint SVGPOINT; 68 typedef SVGPoint SVGPOINT;
69 typedef DOMString STRING; 69 typedef DOMString STRING;
70 typedef DOMString[] ARRAY_OF_STRINGS; 70 typedef DOMString[] ARRAY_OF_STRINGS;
71 typedef TestCallback TEST_CALLBACK; 71 typedef TestCallbackInterface TEST_CALLBACK_INTERFACE;
72 typedef TestSubObjConstructor T; 72 typedef TestSubObjConstructor T;
73 typedef Array ARRAY; 73 typedef Array ARRAY;
74 typedef DOMException E; 74 typedef DOMException E;
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObject.idl ('k') | Source/bindings/tests/results/V8SupportTestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698