| OLD | NEW |
| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 attribute [Reflect] DOMString reflectedStringAttr; | 60 attribute [Reflect] DOMString reflectedStringAttr; |
| 61 attribute [Reflect] long reflectedIntegralAttr; | 61 attribute [Reflect] long reflectedIntegralAttr; |
| 62 attribute [Reflect] unsigned long reflectedUnsignedIntegralAttr; | 62 attribute [Reflect] unsigned long reflectedUnsignedIntegralAttr; |
| 63 attribute [Reflect] boolean reflectedBooleanAttr; | 63 attribute [Reflect] boolean reflectedBooleanAttr; |
| 64 attribute [Reflect, URL] DOMString reflectedURLAttr; | 64 attribute [Reflect, URL] DOMString reflectedURLAttr; |
| 65 attribute [Reflect=customContentStringAttr] DOMString reflectedStringAtt
r; | 65 attribute [Reflect=customContentStringAttr] DOMString reflectedStringAtt
r; |
| 66 attribute [Reflect=customContentIntegralAttr] long reflectedCustomIntegr
alAttr; | 66 attribute [Reflect=customContentIntegralAttr] long reflectedCustomIntegr
alAttr; |
| 67 attribute [Reflect=customContentBooleanAttr] boolean reflectedCustomBool
eanAttr; | 67 attribute [Reflect=customContentBooleanAttr] boolean reflectedCustomBool
eanAttr; |
| 68 attribute [Reflect=customContentURLAttr, URL] DOMString reflectedCustomU
RLAttr; | 68 attribute [Reflect=customContentURLAttr, URL] DOMString reflectedCustomU
RLAttr; |
| 69 | 69 |
| 70 // TypedArray attribute |
| 71 attribute Float32Array typedArrayAttr; |
| 72 |
| 70 // Methods | 73 // Methods |
| 71 void voidMethod(); | 74 void voidMethod(); |
| 72 void voidMethodWithArgs(in long longArg, in DOMString strArg, in Test
Obj objArg); | 75 void voidMethodWithArgs(in long longArg, in DOMString strArg, in Test
Obj objArg); |
| 73 long longMethod(); | 76 long longMethod(); |
| 74 long longMethodWithArgs(in long longArg, in DOMString strArg, in Test
Obj objArg); | 77 long longMethodWithArgs(in long longArg, in DOMString strArg, in Test
Obj objArg); |
| 75 TestObj objMethod(); | 78 TestObj objMethod(); |
| 76 TestObj objMethodWithArgs(in long longArg, in DOMString strArg, in TestO
bj objArg); | 79 TestObj objMethodWithArgs(in long longArg, in DOMString strArg, in TestO
bj objArg); |
| 77 | 80 |
| 78 void methodWithSequenceArg(in sequence<ScriptProfile> sequenceArg); | 81 void methodWithSequenceArg(in sequence<ScriptProfile> sequenceArg); |
| 79 sequence<ScriptProfile> methodReturningSequence(in long longArg); | 82 sequence<ScriptProfile> methodReturningSequence(in long longArg); |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 const DOMString CONST_VALUE_10 = "my constant string"; | 257 const DOMString CONST_VALUE_10 = "my constant string"; |
| 255 const unsigned short CONST_VALUE_11 = 0xffffffff; | 258 const unsigned short CONST_VALUE_11 = 0xffffffff; |
| 256 const unsigned short CONST_VALUE_12 = 0x01; | 259 const unsigned short CONST_VALUE_12 = 0x01; |
| 257 const unsigned short CONST_VALUE_13 = 0X20; | 260 const unsigned short CONST_VALUE_13 = 0X20; |
| 258 const unsigned short CONST_VALUE_14 = 0x1abc; | 261 const unsigned short CONST_VALUE_14 = 0x1abc; |
| 259 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; | 262 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; |
| 260 | 263 |
| 261 attribute [Replaceable] long replaceableAttribute; | 264 attribute [Replaceable] long replaceableAttribute; |
| 262 }; | 265 }; |
| 263 } | 266 } |
| OLD | NEW |