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

Issue 30493002: IDL compiler: EventHandler for setters (Closed)

Created:
7 years, 2 months ago by Nils Barth (inactive)
Modified:
7 years, 2 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive, kouhei (in TOK)
Visibility:
Public.

Description

IDL compiler: EventHandler for setters Ugly special case, handled as generically as possible. Also some cleanup of previous EventHandler includes special casing. BUG=239771 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160051

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Cleanup #

Patch Set 4 : Clearer logic #

Patch Set 5 : Briefer #

Total comments: 12

Patch Set 6 : Rebased, revised #

Patch Set 7 : Add FIXMEs #

Total comments: 2

Patch Set 8 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -22 lines) Patch
M Source/bindings/scripts/unstable/v8_attributes.py View 1 2 3 4 5 6 7 3 chunks +21 lines, -9 lines 0 comments Download
M Source/bindings/scripts/unstable/v8_types.py View 1 2 3 4 5 3 chunks +3 lines, -7 lines 0 comments Download
M Source/bindings/templates/attributes.cpp View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M Source/bindings/tests/idls/TestObjectPython.idl View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 2 3 4 5 6 7 3 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nils Barth (inactive)
Ugly hack, handled pretty briefly and generically.
7 years, 2 months ago (2013-10-19 11:38:51 UTC) #1
haraken
https://codereview.chromium.org/30493002/diff/100001/Source/bindings/scripts/unstable/v8_attributes.py File Source/bindings/scripts/unstable/v8_attributes.py (right): https://codereview.chromium.org/30493002/diff/100001/Source/bindings/scripts/unstable/v8_attributes.py#newcode124 Source/bindings/scripts/unstable/v8_attributes.py:124: includes.update(v8_types.includes_for_type('EventHandler')) I guess we should always call includes.update(v8_types.includes_for_type(idl_type))) in ...
7 years, 2 months ago (2013-10-19 12:41:28 UTC) #2
Nils Barth (inactive)
Revised, will do 2 followup CLs: 1. Always call includes_for_type for attributes (and move ‘V8EventListenerList.h’ ...
7 years, 2 months ago (2013-10-21 02:41:38 UTC) #3
haraken
LGTM. I'm looking forward to seeing follow-up CLs :) https://codereview.chromium.org/30493002/diff/100001/Source/bindings/templates/attributes.cpp File Source/bindings/templates/attributes.cpp (right): https://codereview.chromium.org/30493002/diff/100001/Source/bindings/templates/attributes.cpp#newcode111 Source/bindings/templates/attributes.cpp:111: ...
7 years, 2 months ago (2013-10-21 03:43:52 UTC) #4
Nils Barth (inactive)
This finishes special types for setters - thanks! (Will do followup CLs next.) https://codereview.chromium.org/30493002/diff/100001/Source/bindings/templates/attributes.cpp File ...
7 years, 2 months ago (2013-10-21 03:58:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/30493002/240001
7 years, 2 months ago (2013-10-21 03:58:47 UTC) #6
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 03:58:59 UTC) #7
Message was sent while issue was closed.
Change committed as 160051

Powered by Google App Engine
This is Rietveld 408576698