| OLD | NEW |
| 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 19 matching lines...) Expand all Loading... |
| 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 testCallback) |
| 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); |
| 46 | 46 |
| 47 ULONGLONG methodWithSequenceArg(sequence<SCRIPT_VALUE> sequenceArg); | 47 ULONGLONG methodWithSequenceArg(sequence<SCRIPT_VALUE> sequenceArg); |
| 48 | 48 |
| 49 void nullableArrayArg(ARRAY_OF_STRINGS? arrayArg); | 49 void nullableArrayArg(ARRAY_OF_STRINGS? arrayArg); |
| 50 | 50 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 68 typedef [Clamp] unsigned long long ULONGLONG_CLAMP; | 68 typedef [Clamp] unsigned long long ULONGLONG_CLAMP; |
| 69 typedef SerializedScriptValue SCRIPT_VALUE; | 69 typedef SerializedScriptValue SCRIPT_VALUE; |
| 70 typedef long[] ARRAY_OF_LONGS; | 70 typedef long[] ARRAY_OF_LONGS; |
| 71 typedef SVGPoint SVGPOINT; | 71 typedef SVGPoint SVGPOINT; |
| 72 typedef DOMString STRING; | 72 typedef DOMString STRING; |
| 73 typedef DOMString[] ARRAY_OF_STRINGS; | 73 typedef DOMString[] ARRAY_OF_STRINGS; |
| 74 typedef TestCallback TEST_CALLBACK; | 74 typedef TestCallback TEST_CALLBACK; |
| 75 typedef TestSubObjConstructor T; | 75 typedef TestSubObjConstructor T; |
| 76 typedef Array ARRAY; | 76 typedef Array ARRAY; |
| 77 typedef DOMException E; | 77 typedef DOMException E; |
| OLD | NEW |