|
Unify the GlobalEventHandlers list on the C++ side
Several changes need to be made in sync to achieve this.
Teach the IDL compiler to generate static calls for EventTarget,
allowing GlobalEventHandlers.h to be the single list of the event
attributes on the C++ side.
The handling of the 5 special event handler attributes on body and
frameset was very strange, with both virtual getters/setters in C++
and overrides at the IDL level. Remove the former mechanism, and fix
up the later to fill the job it was clearly added to do.
Also fix some style issues in EventTarget.h to please presubmit.tributes on the C++ side.
BUG= 305112
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160676
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+304 lines, -363 lines) |
Patch |
|
M |
Source/bindings/scripts/code_generator_v8.pm
|
View
|
1
2
|
2 chunks |
+36 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/TestImplements.idl
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
1
2
|
3 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.h
|
View
|
1
2
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Element.h
|
View
|
1
2
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Element.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/GlobalEventHandlers.h
|
View
|
1
2
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/events/EventTarget.h
|
View
|
1
2
|
1 chunk |
+173 lines, -173 lines |
3 comments
|
Download
|
|
M |
Source/core/frame/DOMWindow.h
|
View
|
1
2
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLBodyElement.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLBodyElement.idl
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLFrameSetElement.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLFrameSetElement.idl
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|