Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Issue 203143002: Simplify EventTarget bindings generation (2) (Closed)

Created:
6 years, 9 months ago by Nils Barth (inactive)
Modified:
6 years, 9 months ago
Reviewers:
haraken
CC:
blink-reviews, eae+blinkwatch, fs, adamk+blink_chromium.org, kouhei+svg_chromium.org, rwlbuis, krit, arv+blink, Nate Chapin, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, pdr., sof, gyuyoung.kim_webkit.org, haraken, kojih, jsbell+bindings_chromium.org, kouhei+bindings_chromium.org, ed+blinkwatch_opera.com, f(malita), Inactive, Stephen Chennney, watchdog-blink-watchlist_google.com
Visibility:
Public.

Description

Simplify EventTarget bindings generation (2) This further simplifies EventTarget bindings generation. The goal (for now) is to only have a special case for the {{hidden_dependency_action}}; everything else should be pretty easy to eliminate (except maybe the ListenerFindOnly case). The main change in this CL is making the argument handling regular. (Also correctly handles EventListener as a callback interface.) This also breaks up the big custom generation into smaller pieces, so each piece can be eliminated separately. Followup to: Simplify EventTarget bindings generation https://codereview.chromium.org/201603002/ R=haraken BUG=345503 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169601

Patch Set 1 #

Total comments: 5

Patch Set 2 : Callback interface instead #

Patch Set 3 : Add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -32 lines) Patch
M Source/bindings/scripts/v8_methods.py View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/templates/methods.cpp View 1 2 5 chunks +36 lines, -19 lines 0 comments Download
M Source/bindings/tests/idls/TestObjectPython.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 2 3 chunks +20 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/dom/Node.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/events/EventTarget.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/events/EventTarget.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/frame/DOMWindow.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGElementInstance.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
Nils Barth (inactive)
More simplification of EventTarget. This one is a bit big because I've broken up the ...
6 years, 9 months ago (2014-03-18 07:20:35 UTC) #1
Nils Barth (inactive)
For reference, here's the diff. Differences: * Set local variables regularly. * Early call if ...
6 years, 9 months ago (2014-03-18 07:23:25 UTC) #2
haraken
The change looks OK but I'm not really happy about this CL because it introduces ...
6 years, 9 months ago (2014-03-18 11:10:57 UTC) #3
Nils Barth (inactive)
On 2014/03/18 11:10:57, haraken wrote: > The change looks OK but I'm not really happy ...
6 years, 9 months ago (2014-03-19 02:02:46 UTC) #4
Nils Barth (inactive)
(One clarification.) https://codereview.chromium.org/203143002/diff/1/Source/core/events/EventTarget.idl File Source/core/events/EventTarget.idl (right): https://codereview.chromium.org/203143002/diff/1/Source/core/events/EventTarget.idl#newcode24 Source/core/events/EventTarget.idl:24: void addEventListener([TreatNullAs=NullString] DOMString type, On 2014/03/18 11:10:57, ...
6 years, 9 months ago (2014-03-19 02:02:56 UTC) #5
Nils Barth (inactive)
On 2014/03/19 02:02:46, Nils Barth wrote: > The V8 -> C++ custom code in this ...
6 years, 9 months ago (2014-03-19 03:28:34 UTC) #6
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 04:31:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/203143002/1
6 years, 9 months ago (2014-03-19 04:31:31 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 05:44:58 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-19 05:44:58 UTC) #10
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 06:28:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/203143002/1
6 years, 9 months ago (2014-03-19 06:28:58 UTC) #12
Nils Barth (inactive)
The CQ bit was unchecked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 06:34:53 UTC) #13
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 06:59:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/203143002/20001
6 years, 9 months ago (2014-03-19 06:59:41 UTC) #15
Nils Barth (inactive)
The CQ bit was unchecked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 07:00:24 UTC) #16
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 08:59:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/203143002/40001
6 years, 9 months ago (2014-03-19 08:59:20 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 09:00:40 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 9 months ago (2014-03-19 09:00:41 UTC) #20
Nils Barth (inactive)
Updated to correctly treat EventListener as callback interface, per haraken's observation: https://codereview.chromium.org/204213002/diff/1/Source/bindings/tests/results/V8TestObjectPython.cpp#newcode6437 It's now not ...
6 years, 9 months ago (2014-03-19 09:02:07 UTC) #21
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 09:02:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/203143002/40001
6 years, 9 months ago (2014-03-19 09:02:32 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 10:05:12 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-19 10:05:13 UTC) #25
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-19 10:06:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/203143002/40001
6 years, 9 months ago (2014-03-19 10:06:21 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 11:17:25 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-19 11:17:25 UTC) #29
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-20 00:37:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/203143002/40001
6 years, 9 months ago (2014-03-20 00:37:43 UTC) #31
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 03:46:39 UTC) #32
Message was sent while issue was closed.
Change committed as 169601

Powered by Google App Engine
This is Rietveld 408576698