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

Issue 2768393004: [Bindings] Rename CachedAccessorCallback method in generated code (Closed)

Created:
3 years, 9 months ago by peria
Modified:
3 years, 9 months ago
Reviewers:
haraken, Yuki, bashi
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename CachedAccessorCallback methods in generated code This method is used in creating function templates to get (or generate) a property key, and this method itself is not registered as a callback function. Hence, the name with 'Callback' suffix was confusing, and this CL changes the name to be 'CachedPropertyKey' like getter functions. Note: On current trunk code, V8Window::documentCachedAccessorCallback() is the only method which is actually renamed. BUG=660281 Review-Url: https://codereview.chromium.org/2768393004 Cr-Commit-Position: refs/heads/master@{#459389} Committed: https://chromium.googlesource.com/chromium/src/+/8f7af87790319208abf7f4554e32a868b91b478d

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -26 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp View 1 2 5 chunks +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h.tmpl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl View 1 2 chunks +4 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (16 generated)
peria
PTL The change itself is trivial. Other suggestions are also welcome. thanks,
3 years, 9 months ago (2017-03-24 06:07:47 UTC) #5
bashi
lgtm on my side and defer to yukishiino@ about the renaming.
3 years, 9 months ago (2017-03-24 06:11:03 UTC) #6
haraken
We normally call a function that is called back by V8 a "callback". In that ...
3 years, 9 months ago (2017-03-24 06:14:44 UTC) #7
peria
On 2017/03/24 06:14:44, haraken wrote: > We normally call a function that is called back ...
3 years, 9 months ago (2017-03-24 06:31:13 UTC) #8
haraken
On 2017/03/24 06:31:13, peria (slow this week) wrote: > On 2017/03/24 06:14:44, haraken wrote: > ...
3 years, 9 months ago (2017-03-24 06:33:35 UTC) #9
haraken
On 2017/03/24 06:33:35, haraken wrote: > On 2017/03/24 06:31:13, peria (slow this week) wrote: > ...
3 years, 9 months ago (2017-03-24 06:34:12 UTC) #10
peria
On 2017/03/24 06:34:12, haraken wrote: > On 2017/03/24 06:33:35, haraken wrote: > > On 2017/03/24 ...
3 years, 9 months ago (2017-03-24 06:39:26 UTC) #11
Yuki
LGTM. https://codereview.chromium.org/2768393004/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2768393004/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode249 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:249: {% macro attribute_cache_property_key(attribute) %} Should this be attribute_cache"d"_property_key ...
3 years, 9 months ago (2017-03-24 07:00:30 UTC) #12
peria
https://codereview.chromium.org/2768393004/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2768393004/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode249 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:249: {% macro attribute_cache_property_key(attribute) %} On 2017/03/24 07:00:29, Yuki wrote: ...
3 years, 9 months ago (2017-03-24 08:44:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2768393004/20001
3 years, 9 months ago (2017-03-24 08:44:52 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/407460)
3 years, 9 months ago (2017-03-24 09:14:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2768393004/40001
3 years, 9 months ago (2017-03-24 09:31:30 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/176841) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 9 months ago (2017-03-24 09:38:23 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2768393004/40001
3 years, 9 months ago (2017-03-24 09:46:31 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 11:27:12 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8f7af87790319208abf7f4554e32...

Powered by Google App Engine
This is Rietveld 408576698