Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt

Issue 2335203006: Add [CachedAccessor] attribute to cache (almost) constant accessors (window.document). (Closed)
Patch Set: Polishing + naming revisited Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 1 #
2 # This file describes all Blink IDL extended attributes and allowed values. 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 3 # If any IDL file uses an extended attribute or values not listed below, the
4 # build will fail. 4 # build will fail.
5 # If you would like to add a new extended attribute or value, please: 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 6 # (1) add the extended attribute or value to this file
7 # (2) add an explanation to the Blink IDL extended attributes document: 7 # (2) add an explanation to the Blink IDL extended attributes document:
8 # IDLExtendedAttributes.md (in this directory) 8 # IDLExtendedAttributes.md (in this directory)
9 # (3) add appropriate test cases to run-bindings-tests 9 # (3) add appropriate test cases to run-bindings-tests
10 # 10 #
(...skipping 16 matching lines...) Expand all
27 # [Attr=DeleteFunction], [Attr=X|Y]. 27 # [Attr=DeleteFunction], [Attr=X|Y].
28 # - "Attr=|*" means that Attr takes an optional value, which can be 28 # - "Attr=|*" means that Attr takes an optional value, which can be
29 # arbitrary, e.g. [Attr], [Attr=X]. 29 # arbitrary, e.g. [Attr], [Attr=X].
30 # - "Attr=X|*" means that Attr takes an required value, which can be 30 # - "Attr=X|*" means that Attr takes an required value, which can be
31 # arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo]. 31 # arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo].
32 # 32 #
33 33
34 ActiveScriptWrappable 34 ActiveScriptWrappable
35 CEReactions 35 CEReactions
36 CachedAttribute=* 36 CachedAttribute=*
37 CachedAccessor
haraken 2016/09/20 14:15:03 Alphabetical order.
37 CallWith=ExecutionContext|ScriptState|ScriptArguments|CurrentWindow|EnteredWindo w|ThisValue 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|CurrentWindow|EnteredWindo w|ThisValue
38 CheckSecurity=Receiver|ReturnValue 39 CheckSecurity=Receiver|ReturnValue
39 Clamp 40 Clamp
40 Constructor 41 Constructor
41 # FIXME: remove [ConstructorCallWith=Document], as can instead use 42 # FIXME: remove [ConstructorCallWith=Document], as can instead use
42 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext) 43 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext)
43 ConstructorCallWith=ExecutionContext|ScriptState|Document 44 ConstructorCallWith=ExecutionContext|ScriptState|Document
44 Custom=|Getter|Setter|LegacyCallAsFunction|VisitDOMWrapper|PropertyGetter|Proper tyEnumerator|PropertyQuery|CallPrologue|CallEpilogue 45 Custom=|Getter|Setter|LegacyCallAsFunction|VisitDOMWrapper|PropertyGetter|Proper tyEnumerator|PropertyQuery|CallPrologue|CallEpilogue
45 CustomConstructor 46 CustomConstructor
46 CustomElementCallbacks 47 CustomElementCallbacks
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 SaveSameObject 96 SaveSameObject
96 SecureContext 97 SecureContext
97 SetWrapperReferenceFrom=* 98 SetWrapperReferenceFrom=*
98 SetWrapperReferenceTo=* 99 SetWrapperReferenceTo=*
99 SetterCallWith=ExecutionContext|ScriptArguments|CurrentWindow|EnteredWindow 100 SetterCallWith=ExecutionContext|ScriptArguments|CurrentWindow|EnteredWindow
100 TreatNullAs=NullString|EmptyString 101 TreatNullAs=NullString|EmptyString
101 TreatUndefinedAs=NullString 102 TreatUndefinedAs=NullString
102 URL 103 URL
103 Unforgeable 104 Unforgeable
104 Unscopeable 105 Unscopeable
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698