Chromium Code Reviews
DescriptionSupport API aliases
Introduce API feature properties to specify an API source and alias.
|source| is set on API alias, and is used during API registration
- if an API feature has source set, the bindings installed under API
name will be the bindings of |source| API.
|alias| is used on source API, and is used when checking API
availability - when checking availability of an API that has alias
set, the API will be deemed available if either one of the API and
the API alias are available in the context.
Note that this logic should not be used when determining API
availability for binding registration - in this case alias
availability should be ignored in order to avoid registering
source API bindings when only alias bindings are needed.
BUG=647415
Committed: https://crrev.com/feb4b052b4c86b9047f8c220e3ec3983e5483cdf
Cr-Commit-Position: refs/heads/master@{#435034}
Patch Set 1 #Patch Set 2 : Support API aliases #Patch Set 3 : . #Patch Set 4 : rebase #
Total comments: 14
Patch Set 5 : . #Patch Set 6 : . #Patch Set 7 : . #Patch Set 8 : . #Patch Set 9 : update docs #
Total comments: 18
Patch Set 10 : . #Patch Set 11 : . #
Total comments: 12
Patch Set 12 : . #Patch Set 13 : rebase #Patch Set 14 : . #
Total comments: 17
Patch Set 15 : . #Patch Set 16 : Fix issue with child features not being able to override parent shared values #
Total comments: 12
Patch Set 17 : . #Patch Set 18 : . #Messages
Total messages: 50 (34 generated)
|