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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 228 |
229 attribute SVGPoint mutablePoint; | 229 attribute SVGPoint mutablePoint; |
230 [Immutable] attribute SVGPoint immutablePoint; | 230 [Immutable] attribute SVGPoint immutablePoint; |
231 SVGPoint mutablePointFunction(); | 231 SVGPoint mutablePointFunction(); |
232 [Immutable] SVGPoint immutablePointFunction(); | 232 [Immutable] SVGPoint immutablePointFunction(); |
233 | 233 |
234 [ImplementedAs=banana] void orange(); | 234 [ImplementedAs=banana] void orange(); |
235 [ImplementedAs=blueberry] attribute long strawberry; | 235 [ImplementedAs=blueberry] attribute long strawberry; |
236 | 236 |
237 [StrictTypeChecking] attribute float strictFloat; | 237 [StrictTypeChecking] attribute float strictFloat; |
238 [StrictTypeChecking, RaisesException] bool strictFunction(DOMString str, flo
at a, long b); | 238 [StrictTypeChecking, RaisesException] boolean strictFunction(DOMString str,
float a, long b); |
239 | 239 |
240 // ObjectiveC reserved words. | 240 // ObjectiveC reserved words. |
241 readonly attribute long description; | 241 readonly attribute long description; |
242 attribute long id; | 242 attribute long id; |
243 readonly attribute DOMString hash; | 243 readonly attribute DOMString hash; |
244 | 244 |
245 // Check constants and enums. | 245 // Check constants and enums. |
246 const unsigned short CONST_VALUE_0 = 0; | 246 const unsigned short CONST_VALUE_0 = 0; |
247 const unsigned short CONST_VALUE_1 = 1; | 247 const unsigned short CONST_VALUE_1 = 1; |
248 const unsigned short CONST_VALUE_2 = 2; | 248 const unsigned short CONST_VALUE_2 = 2; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 [DeprecateAs=StaticReadonlyAttribute] static readonly attribute long depreca
tedStaticReadOnlyAttr; | 297 [DeprecateAs=StaticReadonlyAttribute] static readonly attribute long depreca
tedStaticReadOnlyAttr; |
298 [DeprecateAs=StaticAttribute] static attribute long deprecatedStaticAttr; | 298 [DeprecateAs=StaticAttribute] static attribute long deprecatedStaticAttr; |
299 [DeprecateAs=ReadonlyAttribute] readonly attribute long deprecatedReadonlyAt
tr; | 299 [DeprecateAs=ReadonlyAttribute] readonly attribute long deprecatedReadonlyAt
tr; |
300 [DeprecateAs=Attribute] attribute long deprecatedAttr; | 300 [DeprecateAs=Attribute] attribute long deprecatedAttr; |
301 | 301 |
302 [DeprecateAs=Method] void deprecatedMethod(); | 302 [DeprecateAs=Method] void deprecatedMethod(); |
303 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); | 303 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); |
304 | 304 |
305 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 305 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
306 }; | 306 }; |
OLD | NEW |