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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 // configuration and method configuration, and [TypeChecking] | 45 // configuration and method configuration, and [TypeChecking] |
46 // constants also needed for [DoNotCheckConstants] | 46 // constants also needed for [DoNotCheckConstants] |
47 const unsigned long UNSIGNED_LONG = 0; | 47 const unsigned long UNSIGNED_LONG = 0; |
48 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1; | 48 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1; |
49 | 49 |
50 attribute TestInterface testInterfaceAttribute; // Self-referential interfac
e type with [ImplementedAs] | 50 attribute TestInterface testInterfaceAttribute; // Self-referential interfac
e type with [ImplementedAs] |
51 attribute TestImplementedAsConstructor testImplementedAsConstructorAttribute
; | 51 attribute TestImplementedAsConstructor testImplementedAsConstructorAttribute
; |
52 static attribute DOMString staticStringAttribute; | 52 static attribute DOMString staticStringAttribute; |
53 | 53 |
54 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); | 54 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); |
55 [PerWorldBindings] attribute DOMString perWorldBindingsStringAttribute; | |
56 [PerWorldBindings] void voidMethod(); | 55 [PerWorldBindings] void voidMethod(); |
57 | 56 |
58 // Anonymous indexed property operations | 57 // Anonymous indexed property operations |
59 getter DOMString (unsigned long index); | 58 getter DOMString (unsigned long index); |
60 setter DOMString (unsigned long index, DOMString value); | 59 setter DOMString (unsigned long index, DOMString value); |
61 deleter boolean (unsigned long index); | 60 deleter boolean (unsigned long index); |
62 | 61 |
63 // Anonymous named property operations | 62 // Anonymous named property operations |
64 getter DOMString (DOMString name); | 63 getter DOMString (DOMString name); |
65 setter DOMString (DOMString name, DOMString value); | 64 setter DOMString (DOMString name, DOMString value); |
66 deleter boolean (DOMString name); | 65 deleter boolean (DOMString name); |
67 }; | 66 }; |
68 | 67 |
69 TestInterface implements TestImplements; | 68 TestInterface implements TestImplements; |
70 TestInterface implements TestImplements2; | 69 TestInterface implements TestImplements2; |
71 TestInterface implements TestImplements3; | 70 TestInterface implements TestImplements3; |
OLD | NEW |