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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 [Reflect] attribute boolean reflectedBooleanAttr; | 68 [Reflect] attribute boolean reflectedBooleanAttr; |
69 [Reflect, URL] attribute DOMString reflectedURLAttr; | 69 [Reflect, URL] attribute DOMString reflectedURLAttr; |
70 [Reflect=customContentStringAttr] attribute DOMString reflectedStringAttr; | 70 [Reflect=customContentStringAttr] attribute DOMString reflectedStringAttr; |
71 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; | 71 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; |
72 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; | 72 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; |
73 [Reflect=customContentURLAttr, URL] attribute DOMString reflectedCustomURLAt
tr; | 73 [Reflect=customContentURLAttr, URL] attribute DOMString reflectedCustomURLAt
tr; |
74 | 74 |
75 // TypedArray attribute | 75 // TypedArray attribute |
76 attribute Float32Array typedArrayAttr; | 76 attribute Float32Array typedArrayAttr; |
77 | 77 |
| 78 // Function attribute |
| 79 attribute Function functionAttr; |
| 80 |
78 // Methods | 81 // Methods |
79 void voidMethod(); | 82 void voidMethod(); |
80 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); | 83 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); |
81 long longMethod(); | 84 long longMethod(); |
82 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); | 85 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); |
83 [MeasureAs=TestFeature] TestObject objMethod(); | 86 [MeasureAs=TestFeature] TestObject objMethod(); |
84 TestObject objMethodWithArgs(long longArg, DOMString strArg, TestObject objA
rg); | 87 TestObject objMethodWithArgs(long longArg, DOMString strArg, TestObject objA
rg); |
85 | 88 |
86 void methodWithSequenceArg(sequence<TestInterface> sequenceArg); | 89 void methodWithSequenceArg(sequence<TestInterface> sequenceArg); |
87 sequence<TestInterface> methodReturningSequence(long longArg); | 90 sequence<TestInterface> methodReturningSequence(long longArg); |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 | 320 |
318 [DeprecateAs=Method] void deprecatedMethod(); | 321 [DeprecateAs=Method] void deprecatedMethod(); |
319 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); | 322 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); |
320 | 323 |
321 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 324 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
322 }; | 325 }; |
323 | 326 |
324 // The following comment should not generate any code | 327 // The following comment should not generate any code |
325 // TestObject implements TestImplements; | 328 // TestObject implements TestImplements; |
326 | 329 |
OLD | NEW |