| 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 forms, with or without | 5 * Redistribution and use in source and binary forms, 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 // Overloads | 220 // Overloads |
| 221 void overloadedMethod(long longArg); | 221 void overloadedMethod(long longArg); |
| 222 void overloadedMethod(TestCallbackInterface callbackInterfaceArg); | 222 void overloadedMethod(TestCallbackInterface callbackInterfaceArg); |
| 223 void overloadedMethod(TestObject objArg); | 223 void overloadedMethod(TestObject objArg); |
| 224 void overloadedMethod(DOMString[] arrayArg); | 224 void overloadedMethod(DOMString[] arrayArg); |
| 225 void overloadedMethod(sequence<unsigned long> sequenceArg); | 225 void overloadedMethod(sequence<unsigned long> sequenceArg); |
| 226 void overloadedMethodA(TestObject? objArg, optional long longArg); | 226 void overloadedMethodA(TestObject? objArg, optional long longArg); |
| 227 void overloadedMethodA(TestObject? objArg, DOMString strArg); | 227 void overloadedMethodA(TestObject? objArg, DOMString strArg); |
| 228 void overloadedMethodB(DOMString strArg); | 228 void overloadedMethodB(DOMString strArg); |
| 229 void overloadedMethodB([StrictTypeChecking] DOMString strArg); | 229 void overloadedMethodB([StrictTypeChecking] DOMString strArg); |
| 230 void overloadedMethodC(Dictionary dictionaryArg); // Non-wrapper type | 230 void overloadedMethodC(Dictionary dictionaryArg); // Non-wrapper type |
| 231 void overloadedMethodC(double doubleArg); | 231 void overloadedMethodC(double doubleArg); |
| 232 | 232 |
| 233 // Class methods within JavaScript (like what's used for IDBKeyRange). | 233 // Class methods within JavaScript (like what's used for IDBKeyRange). |
| 234 static void classMethod(); | 234 static void classMethod(); |
| 235 static long classMethodWithOptional(optional long arg); | 235 static long classMethodWithOptional(optional long arg); |
| 236 [Custom] static void classMethod2(long arg); | 236 [Custom] static void classMethod2(long arg); |
| 237 | 237 |
| 238 void classMethodWithClamp([Clamp] unsigned short objArgsShort, [Clamp] unsig
ned long objArgsLong); | 238 void classMethodWithClamp([Clamp] unsigned short objArgsShort, [Clamp] unsig
ned long objArgsLong); |
| 239 | 239 |
| 240 // [RuntimeEnabled] methods and attributes. | 240 // [RuntimeEnabled] methods and attributes. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 313 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
| 314 | 314 |
| 315 // PutForwards | 315 // PutForwards |
| 316 [PutForwards=href] readonly attribute TestNode location; | 316 [PutForwards=href] readonly attribute TestNode location; |
| 317 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 317 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 // The following comment should not generate any code | 320 // The following comment should not generate any code |
| 321 // TestObject implements TestImplements; | 321 // TestObject implements TestImplements; |
| 322 | 322 |
| OLD | NEW |