|
IDL: Make enums have global visibility
Before this CL, when the Blink IDL compiler processes an IDL file,
it didn't lookup enum definitions which are defined in other files.
This enforces developers write the same definitions in multiple
places. To solve this problem, make enum definitions have global
visibility by storing them in |component_info|. |InfoProvider|
handles component dependency; enums defined in core/ can
be visible to core/ and modules/, but enums defined in modules
can only be visible to modules.
BUG= 390758
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188518
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+128 lines, -56 lines) |
Patch |
|
M |
Source/bindings/scripts/code_generator_v8.py
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/compute_interfaces_info_individual.py
|
View
|
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/utilities.py
|
View
|
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/core/TestDictionary.idl
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/core/TestInterface.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/modules/TestInterface5.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/modules/TestPartialInterface3.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestDictionary.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestInterface.cpp
|
View
|
|
4 chunks |
+60 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
View
|
|
2 chunks |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/HitRegionOptions.idl
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBDatabase.idl
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBIndex.idl
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBObjectStore.idl
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBTransaction.idl
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBVersionChangeEventInit.idl
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/modules/mediastream/RTCSessionDescriptionInit.idl
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/modules/serviceworkers/WindowClient.idl
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/bindings/main.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|