|
IDL: Support optional argument default value syntax
Adds support for parsing default values of different types, but
only handles null default values when generating code.
Replaces existing
[Default=Null] optional SomeInterface arg
[Default=NullString] optional DOMString arg
with the now equivalent
optional SomeInterface arg = null
optional DOMString arg = null
in IDL files, and drops support for those [Default] attributes.
No changes to generated code.
BUG= 258153
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176200
Total comments: 32
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+293 lines, -74 lines) |
Patch |
|
M |
Source/bindings/IDLExtendedAttributes.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/idl_definitions.py
|
View
|
1
2
3
|
3 chunks |
+56 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/v8_methods.py
|
View
|
1
2
3
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/TestInterfaceConstructor2.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/TestObject.idl
|
View
|
1
2
|
3 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
1
2
|
7 chunks |
+167 lines, -20 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8Binding.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/CSSStyleDeclaration.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/FontFaceSet.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/WebKitCSSMatrix.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/Comment.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/DOMError.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/DOMImplementation.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/Text.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/frame/ConsoleBase.idl
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/Window.idl
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLAudioElement.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLDialogElement.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLInputElement.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptionElement.idl
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLSelectElement.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTextAreaElement.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/testing/TypeConversions.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/timing/Performance.idl
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/SharedWorker.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/encoding/TextDecoder.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/encoding/TextEncoder.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/encryptedmedia/MediaKeys.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBDatabase.idl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBIndex.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBObjectStore.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/speech/SpeechSynthesisUtterance.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 38 (0 generated)
|