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

Issue 99323009: IDL compiler: [Constructor] argument types (Closed)

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

Description

IDL compiler: [Constructor] argument types This adds support for arguments of all types. This uses the existing method.cpp template, but requires one change, namely returning failedToConstruct instead of failedToExecute (which also have different signatures), so factoring out a macro for this, as it occurs in 4 places in the argument check. BUG=239771 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163773

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix formatting #

Total comments: 6

Patch Set 3 : Formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -16 lines) Patch
M Source/bindings/scripts/unstable/v8_interface.py View 1 2 chunks +14 lines, -4 lines 0 comments Download
M Source/bindings/templates/interface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/templates/methods.cpp View 4 chunks +14 lines, -4 lines 0 comments Download
M Source/bindings/tests/idls/TestInterfaceConstructor.idl View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor.cpp View 3 chunks +15 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nils Barth (inactive)
https://codereview.chromium.org/99323009/diff/1/Source/bindings/templates/methods.cpp File Source/bindings/templates/methods.cpp (right): https://codereview.chromium.org/99323009/diff/1/Source/bindings/templates/methods.cpp#newcode113 Source/bindings/templates/methods.cpp:113: {% macro throw_type_error(error_message) %} Nested so don't have to ...
7 years ago (2013-12-12 08:56:07 UTC) #1
haraken
https://codereview.chromium.org/99323009/diff/20001/Source/bindings/scripts/unstable/v8_interface.py File Source/bindings/scripts/unstable/v8_interface.py (right): https://codereview.chromium.org/99323009/diff/20001/Source/bindings/scripts/unstable/v8_interface.py#newcode117 Source/bindings/scripts/unstable/v8_interface.py:117: 'constructor_method': { Where is it used? https://codereview.chromium.org/99323009/diff/20001/Source/bindings/templates/interface.cpp File Source/bindings/templates/interface.cpp ...
7 years ago (2013-12-12 09:10:26 UTC) #2
Nils Barth (inactive)
(replies) https://codereview.chromium.org/99323009/diff/20001/Source/bindings/scripts/unstable/v8_interface.py File Source/bindings/scripts/unstable/v8_interface.py (right): https://codereview.chromium.org/99323009/diff/20001/Source/bindings/scripts/unstable/v8_interface.py#newcode117 Source/bindings/scripts/unstable/v8_interface.py:117: 'constructor_method': { On 2013/12/12 09:10:27, haraken wrote: > ...
7 years ago (2013-12-12 09:34:12 UTC) #3
haraken
On 2013/12/12 09:34:12, Nils Barth wrote: > (replies) > > https://codereview.chromium.org/99323009/diff/20001/Source/bindings/scripts/unstable/v8_interface.py > File Source/bindings/scripts/unstable/v8_interface.py (right): ...
7 years ago (2013-12-12 09:39:51 UTC) #4
Nils Barth (inactive)
On 2013/12/12 09:39:51, haraken wrote: > LGTM, although I'm neutral about the macro. I'm fine ...
7 years ago (2013-12-12 09:52:26 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/99323009/40001
7 years ago (2013-12-12 09:52:40 UTC) #6
commit-bot: I haz the power
7 years ago (2013-12-12 09:52:53 UTC) #7
Message was sent while issue was closed.
Change committed as 163773

Powered by Google App Engine
This is Rietveld 408576698