| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 15 matching lines...) Expand all Loading... |
| 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 module test { | 31 module test { |
| 32 interface [ | 32 interface [ |
| 33 Conditional=Condition11|Condition12, | 33 Conditional=Condition11|Condition12, |
| 34 Supplemental=TestInterface | 34 Supplemental=TestInterface |
| 35 ] TestSupplemental { | 35 ] TestSupplemental { |
| 36 #if defined(TESTING_JS) || defined(TESTING_V8) |
| 37 static readonly attribute long supplementalStaticReadOnlyAttr; |
| 38 static attribute DOMString supplementalStaticAttr; |
| 39 #endif |
| 36 readonly attribute DOMString supplementalStr1; | 40 readonly attribute DOMString supplementalStr1; |
| 37 attribute DOMString supplementalStr2; | 41 attribute DOMString supplementalStr2; |
| 38 attribute [CustomGetter, CustomSetter] DOMString supplementalStr3; | 42 attribute [CustomGetter, CustomSetter] DOMString supplementalStr3; |
| 39 attribute Node supplementalNode; | 43 attribute Node supplementalNode; |
| 40 | 44 |
| 41 void supplementalMethod1(); | 45 void supplementalMethod1(); |
| 42 [CallWith=ScriptExecutionContext] TestObj supplementalMethod2(in DOMStri
ng strArg, in TestObj objArg) raises(DOMException); | 46 [CallWith=ScriptExecutionContext] TestObj supplementalMethod2(in DOMStri
ng strArg, in TestObj objArg) raises(DOMException); |
| 43 [Custom] void supplementalMethod3(); | 47 [Custom] void supplementalMethod3(); |
| 44 static void supplementalMethod4(); | 48 static void supplementalMethod4(); |
| 45 | 49 |
| 46 const unsigned short SUPPLEMENTALCONSTANT1 = 1; | 50 const unsigned short SUPPLEMENTALCONSTANT1 = 1; |
| 47 [Reflect=CONST_IMPL] const unsigned short SUPPLEMENTALCONSTANT2 = 2; | 51 [Reflect=CONST_IMPL] const unsigned short SUPPLEMENTALCONSTANT2 = 2; |
| 48 }; | 52 }; |
| 49 } | 53 } |
| OLD | NEW |