|
Add IDLDictionaryBase
Before this CL, given an IDL dictionary (e.g. FooDictionary)
the code generator generated ToV8() directly.
This is problematic when Blink wants to pass a
sub-dictionary of FooDictionary because generated
ToV8() doesn't convert members defined in the
sub-dictionary.
To solve this problem, add a base class which
provides toV8Impl() virtual function. The code
generator overrides toV8Impl() and ToV8() uses
them. ToV8() automatically calls appropriate
toV8Impl().
BUG= 630210
Committed: https://crrev.com/190cffeadfe46c6419789d586551c877b24f082f
Cr-Commit-Position: refs/heads/master@{#408093}
Total comments: 8
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+148 lines, -32 lines) |
Patch |
|
M |
third_party/WebKit/LayoutTests/fast/dom/idl-dictionary-unittest.html
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/bindings/core/v8/IDLDictionaryBase.h
|
View
|
1
2
3
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/bindings/core/v8/IDLDictionaryBase.cpp
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/core/v8/v8.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/scripts/v8_dictionary.py
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/templates/dictionary_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/templates/dictionary_v8.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp
|
View
|
1
2
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h
|
View
|
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/TestDictionaryDerivedImplementedAs.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceEventInit.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/TestPermissiveDictionary.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
View
|
1
2
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInit.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp
|
View
|
1
2
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestPermissiveDictionary.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/core.gypi
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/core_generated.gypi
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/testing/DictionaryTest.h
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/testing/DictionaryTest.cpp
|
View
|
1
2
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/testing/DictionaryTest.idl
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/Source/core/testing/InternalDictionaryDerivedDerived.idl
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
Total messages: 29 (16 generated)
|