|
IDL: Union type support for attributes
Some specs use union type attributes. For example, TrackEvent[1]
has 'track' attribute, of which type is
(VideoTrack or AudioTrack or TextTrack). Let's support union type
attributes so that we can reduce custom bindings. Follow-up CLs
will replace custom bindings if possible.
BUG= 240176
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184847
Total comments: 1
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+280 lines, -49 lines) |
Patch |
 |
M |
LayoutTests/fast/dom/idl-union-type-unittest.html
|
View
|
1
2
|
1 chunk |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/idl-union-type-unittest-expected.txt
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_attributes.py
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_interface.py
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_methods.py
|
View
|
1
2
|
3 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_types.py
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/attributes.cpp
|
View
|
1
2
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/union.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/union.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/idls/core/TestObject.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/UnionTypesCore.h
|
View
|
|
9 chunks |
+57 lines, -18 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/UnionTypesCore.cpp
|
View
|
|
18 chunks |
+84 lines, -18 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
|
2 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/UnionTypesTest.h
|
View
|
|
1 chunk |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/testing/UnionTypesTest.cpp
|
View
|
1
2
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/UnionTypesTest.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11 (5 generated)
|