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

Issue 2725673002: WIP bindings: Expand usage of NativeValueTraits. (Closed)

Created:
3 years, 9 months ago by Raphael Kubo da Costa (rakuco)
Modified:
3 years, 9 months ago
Reviewers:
haraken, bashi, Yuki
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WIP bindings: Expand usage of NativeValueTraits. Make it a uniform wrapper that can call all sorts of different functions. BUG=685754

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+428 lines, -110 lines) Patch
M third_party/WebKit/Source/bindings/bindings.gni View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/Dictionary.h View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/core/v8/IDLTypes.h View 1 chunk +335 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/NativeValueTraits.h View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8Binding.h View 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_callback_function.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_interface.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_types.py View 9 chunks +55 lines, -96 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_union.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/dictionary_v8.h.tmpl View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h.tmpl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl View 2 chunks +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/union_container.h.tmpl View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Raphael Kubo da Costa (rakuco)
Bashi-san et al: please take a look. This is the experiment I've been doing to ...
3 years, 9 months ago (2017-02-28 19:37:02 UTC) #2
haraken
I think this is a right way forward. On 2017/02/28 19:37:02, Raphael Kubo da Costa ...
3 years, 9 months ago (2017-03-01 01:34:04 UTC) #3
Yuki
I have a concern that this way would regress the binding performance. I like the ...
3 years, 9 months ago (2017-03-01 06:25:43 UTC) #4
Raphael Kubo da Costa (rakuco)
On 2017/03/01 01:34:04, haraken wrote: > I'm just curious but why do we need NativeValueTraits<C++ ...
3 years, 9 months ago (2017-03-01 07:32:38 UTC) #5
Yuki
On 2017/03/01 07:32:38, Raphael Kubo da Costa (rakuco) wrote: > On 2017/03/01 01:34:04, haraken wrote: ...
3 years, 9 months ago (2017-03-01 07:56:10 UTC) #6
Raphael Kubo da Costa (rakuco)
On 2017/03/01 07:56:10, Yuki(ooo_til_feb28) wrote: > Ah, I see. Then, we may want to generalize ...
3 years, 9 months ago (2017-03-01 08:02:49 UTC) #7
Yuki
On 2017/03/01 08:02:49, Raphael Kubo da Costa (rakuco) wrote: > On 2017/03/01 07:56:10, Yuki(ooo_til_feb28) wrote: ...
3 years, 9 months ago (2017-03-01 08:15:00 UTC) #8
Raphael Kubo da Costa (rakuco)
On 2017/03/01 08:15:00, Yuki(ooo_til_feb28) wrote: > Yes. I'd propose to add your generic support on ...
3 years, 9 months ago (2017-03-01 09:48:42 UTC) #9
Raphael Kubo da Costa (rakuco)
3 years, 9 months ago (2017-03-01 18:53:53 UTC) #10
Since following your proposal involves reducing usage of these new overloads to
records, I've uploaded a new patch to
https://codereview.chromium.org/2709983004/ so we can see it in action.

Powered by Google App Engine
This is Rietveld 408576698