|
|
bindings: Makes not call installDOMClassTemplate twice for the same interface.
If the interface implements partial interfaces, the current implementation
is calling V8DOMConfiguration::installDOMClassTemplate() twice (once for
core/ and the other for modules/). This implementation is not intuitive,
and we cannot do only-once-things in installDOMClassTemplate().
For example, we cannot call V8DOMConfiguration::setClassString() in
installDOMClassTemplate().
This CL fixes so that we call initializeDOMInterfaceTemplate(), which is
renamed from installDOMClassTemplate(), only once for each interface.
Also separates each section/block with adding empty lines in both of
the template file and generated files.
BUG=
Committed: https://crrev.com/3ee990d9bbf799ee4a81f843e6b1ab71d61883ba
Cr-Commit-Position: refs/heads/master@{#379278}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+576 lines, -585 lines) |
Patch |
 |
M |
third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
|
View
|
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
|
View
|
|
4 chunks |
+22 lines, -27 lines |
3 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/constants.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface_base.cpp
|
View
|
1
|
4 chunks |
+81 lines, -91 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
|
View
|
|
1 chunk |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
View
|
|
1 chunk |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
View
|
|
1 chunk |
+15 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp
|
View
|
|
1 chunk |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.cpp
|
View
|
|
1 chunk |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
View
|
|
1 chunk |
+56 lines, -47 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp
|
View
|
|
1 chunk |
+19 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp
|
View
|
|
1 chunk |
+20 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp
|
View
|
1
|
2 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
|
View
|
|
1 chunk |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
View
|
|
1 chunk |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp
|
View
|
|
1 chunk |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
View
|
|
1 chunk |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp
|
View
|
|
1 chunk |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
|
View
|
|
1 chunk |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEmpty.cpp
|
View
|
|
1 chunk |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.cpp
|
View
|
|
1 chunk |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventTarget.cpp
|
View
|
|
1 chunk |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
View
|
|
1 chunk |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
View
|
|
1 chunk |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
View
|
|
1 chunk |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
|
View
|
|
1 chunk |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp
|
View
|
|
1 chunk |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestNode.cpp
|
View
|
|
1 chunk |
+12 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
|
3 chunks |
+47 lines, -42 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
View
|
|
1 chunk |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
|
View
|
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp
|
View
|
|
1 chunk |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
View
|
|
1 chunk |
+27 lines, -22 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
View
|
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|