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

Issue 1002163002: bindings: Use AccessorName{Getter,Setter}Callback in AttributeConfiguration (Closed)

Created:
5 years, 9 months ago by bashi
Modified:
5 years, 9 months ago
Reviewers:
haraken, dcarney, Yuki
CC:
blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, arv+blink, vivekg
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

bindings: Use AccessorName{Getter,Setter}Callback in AttributeConfiguration This is a preparation for using Maybe version of SetAccessor(). V8 is deprecating a version of SetAccessor() which takes Accessor{Getter,Setter}Callback, and will only provide a version of SetAccesor() which takes AccessorName{Getter,Setter}Callback. Use AccessorName{Getter,Setter}Callback and v8::Name in bindings so that we can replace old API in the follow-up CL. BUG=462402 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191968

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+451 lines, -451 lines) Patch
M Source/bindings/core/v8/V8Binding.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/V8Binding.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/V8DOMConfiguration.h View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/bindings/core/v8/V8DOMConfiguration.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/templates/attributes.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/templates/constants.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/templates/interface.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/templates/interface_base.cpp View 1 chunk +1 line, -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/results/core/V8TestInterface.cpp View 62 chunks +62 lines, -62 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 7 chunks +9 lines, -9 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 328 chunks +337 lines, -337 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestTypedefs.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.cpp View 20 chunks +20 lines, -20 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
bashi
PTAL? Here is a Maybe version of SetAccessor() https://code.google.com/p/chromium/codesearch#chromium/src/v8/include/v8.h&q=SetAccessor&sq=package:chromium&type=cs&l=2631 Instead of this change, we could ...
5 years, 9 months ago (2015-03-13 08:55:39 UTC) #2
haraken
On 2015/03/13 08:55:39, bashi1 wrote: > PTAL? > > Here is a Maybe version of ...
5 years, 9 months ago (2015-03-13 09:02:25 UTC) #3
Yuki
lgtm https://codereview.chromium.org/1002163002/diff/1/Source/bindings/templates/interface.cpp File Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/1002163002/diff/1/Source/bindings/templates/interface.cpp#newcode479 Source/bindings/templates/interface.cpp:479: ASSERT(name->IsString()); Please add a FIXME comment, or shall ...
5 years, 9 months ago (2015-03-13 09:05:06 UTC) #4
bashi
dcanery@ What do you think about adding SetAccessor() which takes Accessor{Getter,Setter}Callback and returns Maybe<boo>? Without ...
5 years, 9 months ago (2015-03-16 01:22:13 UTC) #6
dcarney
On 2015/03/16 01:22:13, bashi1 wrote: > dcanery@ > > What do you think about adding ...
5 years, 9 months ago (2015-03-16 20:10:27 UTC) #7
dcarney
https://codereview.chromium.org/1002163002/diff/1/Source/bindings/templates/interface.cpp File Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/1002163002/diff/1/Source/bindings/templates/interface.cpp#newcode479 Source/bindings/templates/interface.cpp:479: ASSERT(name->IsString()); On 2015/03/13 09:05:06, Yuki wrote: > Please add ...
5 years, 9 months ago (2015-03-16 20:17:45 UTC) #8
haraken
LGTM
5 years, 9 months ago (2015-03-16 23:19:40 UTC) #9
bashi
https://codereview.chromium.org/1002163002/diff/1/Source/bindings/templates/interface.cpp File Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/1002163002/diff/1/Source/bindings/templates/interface.cpp#newcode479 Source/bindings/templates/interface.cpp:479: ASSERT(name->IsString()); On 2015/03/16 20:17:44, dcarney wrote: > On 2015/03/13 ...
5 years, 9 months ago (2015-03-17 01:07:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002163002/20001
5 years, 9 months ago (2015-03-17 01:07:50 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 02:03:51 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191968

Powered by Google App Engine
This is Rietveld 408576698