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

Issue 1035023005: [bindings] Support CallWith=ThisValue for generic interface methods (Closed)

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

Description

[bindings] Support CallWith=ThisValue for generic interface methods As per [1], the extended attribute, CallWith=ThisValue should be only used with a callback interface method. We need to support the CallWith=ThisValue on a generic interface method for Location.idl which will be done in the followup patch. BUG=345519 R=haraken@chromium.org, jl@opera.com [1] https://sites.google.com/a/chromium.org/dev/blink/webidl/blink-idl-extended-attributes#TOC-CallWith-ThisValue-m- Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192831

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rework done! #

Patch Set 3 : Binding patch alone. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M Source/bindings/scripts/v8_methods.py View 2 chunks +3 lines, -1 line 0 comments Download
M Source/bindings/templates/methods.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/idls/core/TestObject.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
vivekg
This is a WIP patch and would like to know your opinion about supporting CallWith=ThisValue ...
5 years, 8 months ago (2015-03-31 06:26:16 UTC) #2
vivekg
On 2015/03/31 06:26:16, vivekg_ wrote: > This is a WIP patch and would like to ...
5 years, 8 months ago (2015-03-31 09:29:49 UTC) #3
haraken
https://codereview.chromium.org/1035023005/diff/1/Source/bindings/core/v8/custom/V8LocationCustom.cpp File Source/bindings/core/v8/custom/V8LocationCustom.cpp (left): https://codereview.chromium.org/1035023005/diff/1/Source/bindings/core/v8/custom/V8LocationCustom.cpp#oldcode42 Source/bindings/core/v8/custom/V8LocationCustom.cpp:42: // conversion behavior of location objects. Keep this comment. ...
5 years, 8 months ago (2015-03-31 09:35:22 UTC) #4
vivekg
On 2015/03/31 at 09:35:22, haraken wrote: > https://codereview.chromium.org/1035023005/diff/1/Source/bindings/core/v8/custom/V8LocationCustom.cpp > File Source/bindings/core/v8/custom/V8LocationCustom.cpp (left): > > https://codereview.chromium.org/1035023005/diff/1/Source/bindings/core/v8/custom/V8LocationCustom.cpp#oldcode42 ...
5 years, 8 months ago (2015-03-31 09:47:46 UTC) #5
vivekg
Done the changes. PTAL.
5 years, 8 months ago (2015-03-31 09:56:34 UTC) #6
Jens Widell
This looks good to me, but would probably be better split into two CLs. Support ...
5 years, 8 months ago (2015-03-31 11:15:43 UTC) #7
vivekg
On 2015/03/31 at 11:15:43, jl wrote: > This looks good to me, but would probably ...
5 years, 8 months ago (2015-03-31 11:33:43 UTC) #8
vivekg
Jens, good to go?
5 years, 8 months ago (2015-03-31 13:27:52 UTC) #9
haraken
LGTM
5 years, 8 months ago (2015-03-31 13:33:27 UTC) #10
vivekg
On 2015/03/31 at 13:33:27, haraken wrote: > LGTM Thanks ;)
5 years, 8 months ago (2015-03-31 13:37:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1035023005/40001
5 years, 8 months ago (2015-03-31 13:37:35 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=192831
5 years, 8 months ago (2015-03-31 13:41:19 UTC) #14
Jens Widell
5 years, 8 months ago (2015-03-31 14:05:42 UTC) #15
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698