|
Automatically generate constructor attributes on WorkerContext
Add [GlobalContext=WindowOnly|WorkerOnly|WindowAndWorker] IDL extended
attribute to indicate to the bindings generator on which global context
the constructor attribute should be generated for interfaces without
[NoInterfaceObject]:
- WindowOnly: only on the global Window object (default if ommitted)
- WorkerOnly: only on the worker context
- WindowAndWorker: On both the global Window object and the worker
context
This covers all the current use cases.
The bindings generator now automatically generates the Constructor
attributes on the WorkerContext for non-callback interfaces which do not
have the [NoInterfaceObject] extended attribute but have
[GlobalContext=WorkerOnly|WindowAndWorker] extended attribute.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151777
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+52 lines, -39 lines) |
Patch |
|
M |
Source/bindings/derived_sources.gyp
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/IDLAttributes.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/preprocess_idls.py
|
View
|
|
4 chunks |
+22 lines, -10 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/MessageChannel.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/MessageEvent.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fileapi/Blob.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fileapi/FileReader.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fileapi/FileReaderSync.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/URL.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/ArrayBuffer.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/DataView.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Float32Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Float64Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Int16Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Int32Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Int8Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Uint16Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Uint32Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Uint8Array.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/Uint8ClampedArray.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/page/EventSource.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerContext.idl
|
View
|
|
1 chunk |
+1 line, -25 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerLocation.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/xml/XMLHttpRequest.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Tools/Scripts/webkitpy/bindings/main.py
|
View
|
1
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|