| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // Static method with conditional on overloaded methods | 196 // Static method with conditional on overloaded methods |
| 197 [Conditional=Condition1] static void overloadedMethod1(in long arg); | 197 [Conditional=Condition1] static void overloadedMethod1(in long arg); |
| 198 [Conditional=Condition1] static void overloadedMethod1(in DOMString type
); | 198 [Conditional=Condition1] static void overloadedMethod1(in DOMString type
); |
| 199 | 199 |
| 200 #if defined(TESTING_V8) | 200 #if defined(TESTING_V8) |
| 201 // 'V8EnabledAtRuntime' methods and attributes. | 201 // 'V8EnabledAtRuntime' methods and attributes. |
| 202 [V8EnabledAtRuntime] void enabledAtRuntimeMethod1(in int intArg); | 202 [V8EnabledAtRuntime] void enabledAtRuntimeMethod1(in int intArg); |
| 203 [V8EnabledAtRuntime=FeatureName] void enabledAtRuntimeMethod2(in int int
Arg); | 203 [V8EnabledAtRuntime=FeatureName] void enabledAtRuntimeMethod2(in int int
Arg); |
| 204 attribute [V8EnabledAtRuntime] long enabledAtRuntimeAttr1; | 204 attribute [V8EnabledAtRuntime] long enabledAtRuntimeAttr1; |
| 205 attribute [V8EnabledAtRuntime=FeatureName] long enabledAtRuntimeAttr2; | 205 attribute [V8EnabledAtRuntime=FeatureName] long enabledAtRuntimeAttr2; |
| 206 // V8EnabledPerContext currently only supports attributes. |
| 207 attribute [V8EnabledPerContext] long enabledAtContextAttr1; |
| 208 attribute [V8EnabledPerContext=FeatureName] long enabledAtContextAttr2; |
| 206 #endif | 209 #endif |
| 207 | 210 |
| 208 | 211 |
| 209 #if defined(TESTING_V8) | 212 #if defined(TESTING_V8) |
| 210 attribute float[] floatArray; | 213 attribute float[] floatArray; |
| 211 attribute double[] doubleArray; | 214 attribute double[] doubleArray; |
| 212 #endif | 215 #endif |
| 213 | 216 |
| 214 #if defined(TESTING_JS) | 217 #if defined(TESTING_JS) |
| 215 void methodWithUnsignedLongArray(in unsigned long[] unsignedLongArray); | 218 void methodWithUnsignedLongArray(in unsigned long[] unsignedLongArray); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 const unsigned short CONST_VALUE_8 = 8; | 253 const unsigned short CONST_VALUE_8 = 8; |
| 251 const short CONST_VALUE_9 = -1; | 254 const short CONST_VALUE_9 = -1; |
| 252 const DOMString CONST_VALUE_10 = "my constant string"; | 255 const DOMString CONST_VALUE_10 = "my constant string"; |
| 253 const unsigned short CONST_VALUE_11 = 0xffffffff; | 256 const unsigned short CONST_VALUE_11 = 0xffffffff; |
| 254 const unsigned short CONST_VALUE_12 = 0x01; | 257 const unsigned short CONST_VALUE_12 = 0x01; |
| 255 const unsigned short CONST_VALUE_13 = 0X20; | 258 const unsigned short CONST_VALUE_13 = 0X20; |
| 256 const unsigned short CONST_VALUE_14 = 0x1abc; | 259 const unsigned short CONST_VALUE_14 = 0x1abc; |
| 257 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; | 260 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; |
| 258 }; | 261 }; |
| 259 } | 262 } |
| OLD | NEW |