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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const unsigned short CONST_VALUE_15 = 010; | 60 const unsigned short CONST_VALUE_15 = 010; |
61 const unsigned short CONST_VALUE_16 = -010; | 61 const unsigned short CONST_VALUE_16 = -010; |
62 const unsigned short CONST_VALUE_16 = -0x1A; | 62 const unsigned short CONST_VALUE_16 = -0x1A; |
63 const unsigned short CONST_VALUE_17 = -0X1a; | 63 const unsigned short CONST_VALUE_17 = -0X1a; |
64 | 64 |
65 // Extended attributes | 65 // Extended attributes |
66 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; | 66 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; |
67 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; | 67 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; |
68 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; | 68 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; |
69 | 69 |
| 70 stringifier attribute DOMString stringifierAttribute; |
70 | 71 |
71 // Attributes | 72 // Attributes |
72 // | 73 // |
73 // Naming convention: | 74 // Naming convention: |
74 // [ExtAttr] attribute Type extAttrTypeNameAttribute; | 75 // [ExtAttr] attribute Type extAttrTypeNameAttribute; |
75 // E.g., | 76 // E.g., |
76 // [Foo] attribute DOMString? fooStringOrNullAttribute | 77 // [Foo] attribute DOMString? fooStringOrNullAttribute |
77 // | 78 // |
78 // Type name reference: | 79 // Type name reference: |
79 // http://heycam.github.io/webidl/#dfn-type-name | 80 // http://heycam.github.io/webidl/#dfn-type-name |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 520 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
520 | 521 |
521 // Extended attributes on referenced interfaces | 522 // Extended attributes on referenced interfaces |
522 // (not self; self-reference tests at interface themselves) | 523 // (not self; self-reference tests at interface themselves) |
523 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 524 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
524 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 525 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
525 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 526 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
526 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 527 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
527 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 528 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
528 }; | 529 }; |
OLD | NEW |