OLD | NEW |
(Empty) | |
| 1 # |
| 2 # This file describes all Blink IDL extended attributes and allowed values. |
| 3 # If any IDL file uses an extended attribute or values not listed below, the |
| 4 # build will fail. |
| 5 # If you would like to add a new extended attribute or value, please: |
| 6 # (1) add the extended attribute or value to this file |
| 7 # (2) add an explanation to the Blink IDL extended attributes document: |
| 8 # http://www.chromium.org/blink/webidl/blink-idl-extended-attributes |
| 9 # (3) add appropriate test cases to run-bindings-tests |
| 10 # |
| 11 # The syntax of this file is as follows: |
| 12 # - One extended attribute per one line: Name and (optionally) Values. |
| 13 # - "Attr" means that the Attr does not take a value, i.e. [Attr]. |
| 14 # - "Attr=X" means that Attr takes a required value, which must be X; |
| 15 # i.e. [Attr=X]. |
| 16 # - "Attr=X|Y|Z" means that Attr takes a required value, and the valid |
| 17 # values are X, Y, and Z, and combinations thereof; |
| 18 # e.g. [Attr=X], [Attr=Y], [Attr=X|Z]. |
| 19 # The separator must be | or &, so [Attr=X&Z] is also valid; the |
| 20 # separator makes a difference for Conditional, but otherwise is simply |
| 21 # a style convention. |
| 22 # - "Attr=|X|Y|Z" means that Attr takes an optional value, whose valid |
| 23 # values (if present) are X, Y, and Z, and combinations thereof; e.g. |
| 24 # [Attr], [Attr=X], [Attr=Y], [Attr=X|Z], [Attr=X|Y|Z], [Attr=X&Z]. |
| 25 # Note that including an empty value in the list, as in [Attr=X||Y], |
| 26 # is NOT valid: the value is optional, but empty values are not allowed. |
| 27 # - "Attr=*" means that Attr takes a required value, which can be |
| 28 # arbitrary, and combinations thereof, e.g. [Attr=IndexedDB], |
| 29 # [Attr=DeleteFunction], [Attr=X|Y]. |
| 30 # - "Attr=|*" means that Attr takes an optional value, which can be |
| 31 # arbitrary, e.g. [Attr], [Attr=X]. |
| 32 # - "Attr=X|*" means that Attr takes an required value, which can be |
| 33 # arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo]. |
| 34 # |
| 35 |
| 36 ActiveDOMObject |
| 37 CachedAttribute=* |
| 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWindow|T
hisValue |
| 39 CheckSecurity=Frame|Node |
| 40 Clamp |
| 41 Conditional=* |
| 42 Constructor |
| 43 # FIXME: remove [ConstructorCallWith=Document], as can instead use |
| 44 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext) |
| 45 ConstructorCallWith=ExecutionContext|Document |
| 46 Custom=|Getter|Setter|LegacyCallAsFunction|ToV8|VisitDOMWrapper|Wrap|PropertyGet
ter|PropertyEnumerator|PropertyQuery |
| 47 CustomConstructor |
| 48 CustomElementCallbacks |
| 49 # Dartium specific attributes. |
| 50 # DartCustom can have no value or New if New an additional method is added (V8 w
ill not see this method) |
| 51 DartCustom=|New|Setter|Getter |
| 52 # DartName should have the alias name to be used to resolve. |
| 53 DartName=* |
| 54 # DartSuppress can have no value will suppress attribute/method, if attribute ca
n also suppress |
| 55 # just the DartSuppress=getter or DartSuppress=Setter |
| 56 DartSuppress=|Getter|Setter |
| 57 # No need to setup Dart API scope when a native function is invoked. |
| 58 DartNoAutoScope |
| 59 # End of Dartium attributes. |
| 60 Default=Undefined |
| 61 DependentLifetime |
| 62 DeprecateAs=* |
| 63 DoNotCheckConstants |
| 64 DoNotCheckSecurity=|Setter |
| 65 DoNotCheckSignature |
| 66 EnforceRange |
| 67 EventConstructor |
| 68 ExposeJSAccessors |
| 69 Exposed=* |
| 70 GarbageCollected |
| 71 Global=|* |
| 72 Immutable |
| 73 ImplementedAs=* |
| 74 InitializedByEventConstructor |
| 75 LegacyTreatAsPartialInterface |
| 76 LogActivity=|GetterOnly|SetterOnly |
| 77 LogAllWorlds |
| 78 LogPreviousValue |
| 79 MeasureAs=* |
| 80 NamedConstructor=* |
| 81 NoInterfaceObject |
| 82 NotEnumerable |
| 83 OverrideBuiltins |
| 84 PartialInterfaceImplementedAs=* |
| 85 # Valid values for [PerContextEnabled] are Context Features, in |
| 86 # ContextFeatures::FeatureType in Source/core/dom/ContextFeatures.h |
| 87 PerContextEnabled=* |
| 88 PerWorldBindings |
| 89 PrimaryGlobal=|* |
| 90 PutForwards=* |
| 91 RaisesException=|Getter|Setter|Constructor |
| 92 ReadOnly |
| 93 Reflect=|* |
| 94 ReflectEmpty=* |
| 95 ReflectInvalid=* |
| 96 ReflectMissing=* |
| 97 ReflectOnly=* |
| 98 Replaceable |
| 99 # Valid values for [RuntimeEnabled] are the Runtime Enabled Features, listed in |
| 100 # Source/core/page/RuntimeEnabledFeatures.in |
| 101 RuntimeEnabled=* |
| 102 SetWrapperReferenceFrom=* |
| 103 SetWrapperReferenceTo=* |
| 104 SetterCallWith=ExecutionContext|ScriptArguments|ActiveWindow|FirstWindow |
| 105 SpecialWrapFor=* |
| 106 TreatNullAs=NullString |
| 107 TreatReturnedNullStringAs=Null|Undefined |
| 108 TreatUndefinedAs=NullString |
| 109 TypeChecking=Interface|Nullable|Unrestricted |
| 110 URL |
| 111 Unforgeable |
| 112 WillBeGarbageCollected |
OLD | NEW |