| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); | 59 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); |
| 60 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg); | 60 void voidMethodDoubleArgFloatArg(double doubleArg, float floatArg); |
| 61 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double
unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg); | 61 void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg(unrestricted double
unrestrictedDoubleArg, unrestricted float unrestrictedFloatArg); |
| 62 [PerWorldBindings] void voidMethod(); | 62 [PerWorldBindings] void voidMethod(); |
| 63 | 63 |
| 64 // Anonymous indexed property operations | 64 // Anonymous indexed property operations |
| 65 getter DOMString (unsigned long index); | 65 getter DOMString (unsigned long index); |
| 66 setter DOMString (unsigned long index, DOMString value); | 66 setter DOMString (unsigned long index, DOMString value); |
| 67 deleter boolean (unsigned long index); | 67 deleter boolean (unsigned long index); |
| 68 | 68 |
| 69 // iterable<V> needs a "length" property accompanying the indexed property |
| 70 // operations above. |
| 71 readonly attribute unsigned long length; |
| 72 |
| 69 // Anonymous named property operations | 73 // Anonymous named property operations |
| 70 getter DOMString (DOMString name); | 74 getter DOMString (DOMString name); |
| 71 setter DOMString (DOMString name, DOMString value); | 75 setter DOMString (DOMString name, DOMString value); |
| 72 deleter boolean (DOMString name); | 76 deleter boolean (DOMString name); |
| 73 | 77 |
| 74 [NotEnumerable] stringifier; | 78 [NotEnumerable] stringifier; |
| 75 | 79 |
| 76 // Per-method [Exposed] annotation support. | 80 // Per-method [Exposed] annotation support. |
| 77 void alwaysExposedMethod(); | 81 void alwaysExposedMethod(); |
| 78 [Exposed=Worker] void workerExposedMethod(); | 82 [Exposed=Worker] void workerExposedMethod(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 91 // Union types | 95 // Union types |
| 92 void voidMethodBooleanOrDOMStringArg((boolean or DOMString) arg); | 96 void voidMethodBooleanOrDOMStringArg((boolean or DOMString) arg); |
| 93 void voidMethodDoubleOrDOMStringArg((double or DOMString) arg); | 97 void voidMethodDoubleOrDOMStringArg((double or DOMString) arg); |
| 94 | 98 |
| 95 // Callback functions | 99 // Callback functions |
| 96 void voidMethodVoidExperimentalCallbackFunction(VoidExperimentalCallbackFunc
tion arg); | 100 void voidMethodVoidExperimentalCallbackFunction(VoidExperimentalCallbackFunc
tion arg); |
| 97 void voidMethodVoidCallbackFunctionModulesArg(VoidCallbackFunctionModules ar
g); | 101 void voidMethodVoidCallbackFunctionModulesArg(VoidCallbackFunctionModules ar
g); |
| 98 | 102 |
| 99 iterable<any>; | 103 iterable<any>; |
| 100 }; | 104 }; |
| OLD | NEW |