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

Issue 1134073002: IDL: Make idl_type.is_wrapper_type false for callback interfaces (Closed)

Created:
5 years, 7 months ago by Jens Widell
Modified:
5 years, 7 months ago
Reviewers:
haraken
CC:
blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, arv+blink, vivekg
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

IDL: Make idl_type.is_wrapper_type false for callback interfaces Callback interface types (when used as method arguments) have special pre-conversion error handling, and special conversion code, and making idl_type.is_wrapper_type false disables the normal interface type error handling that is generated after the conversion (by checking for null) when [TypeChecking=Interface]. Other effects of making idl_type.is_wrapper_type false for callback interfaces are: - Callback interface types can no longer be used as arguments to methods implemented in private script. Reverting this effect would be trivial. - If a callback interface type argument is the distinguishing argument for an overloaded method, we stop generating code that doesn't compile and instead generate no code at all for that method overload. BUG=462561 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195181

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -6 lines) Patch
M Source/bindings/scripts/v8_types.py View 3 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jens Widell
PTAL The reason why I ended up with this is that I tried adding [TypeChecking=Interface] ...
5 years, 7 months ago (2015-05-11 13:18:59 UTC) #2
haraken
LGTM. It sounds a bit strange that callback interfaces are not wrapper types, but from ...
5 years, 7 months ago (2015-05-11 13:28:38 UTC) #3
Jens Widell
On 2015/05/11 13:28:38, haraken wrote: > LGTM. > > It sounds a bit strange that ...
5 years, 7 months ago (2015-05-11 14:16:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134073002/1
5 years, 7 months ago (2015-05-11 14:17:19 UTC) #6
haraken
On 2015/05/11 14:16:59, Jens Widell wrote: > On 2015/05/11 13:28:38, haraken wrote: > > LGTM. ...
5 years, 7 months ago (2015-05-11 15:09:55 UTC) #7
commit-bot: I haz the power
5 years, 7 months ago (2015-05-11 15:33:28 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195181

Powered by Google App Engine
This is Rietveld 408576698