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

Issue 1083003004: bindings: Moves toV8 and v8SetReturnValue out to ToV8.h and V8Binding.h. (Closed)

Created:
5 years, 8 months ago by Yuki
Modified:
5 years, 7 months ago
Reviewers:
haraken
CC:
blink-reviews, arv+blink, vivekg_samsung, falken, vivekg, blink-reviews-bindings_chromium.org, Inactive, kinuko+worker_chromium.org, horo+watch_chromium.org
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

bindings: Moves toV8 and v8SetReturnValue out to ToV8.h and V8Binding.h. Also retires [Custom=ToV8], but the actual code doesn't change. We still have special treatment for Window and WorkerGlobalScope (and EventTarget as Window's super class). BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194587

Patch Set 1 #

Total comments: 19

Patch Set 2 : Synced. #

Patch Set 3 : Addressed review comments. #

Patch Set 4 : Addressed a review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -171 lines) Patch
M Source/bindings/IDLExtendedAttributes.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/ToV8.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A Source/bindings/core/v8/ToV8.cpp View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8Binding.h View 1 2 5 chunks +67 lines, -5 lines 0 comments Download
M Source/bindings/core/v8/custom/V8EventTargetCustom.cpp View 1 chunk +0 lines, -15 lines 0 comments Download
M Source/bindings/core/v8/custom/V8WindowCustom.cpp View 1 chunk +0 lines, -21 lines 0 comments Download
D Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp View 1 chunk +0 lines, -64 lines 0 comments Download
M Source/bindings/core/v8/custom/custom.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/core/v8/v8.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/scripts/v8_interface.py View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/templates/interface.h View 1 chunk +0 lines, -20 lines 0 comments Download
M Source/bindings/tests/idls/core/TestInterface.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/idls/modules/TestInterface5.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.h View 1 chunk +0 lines, -18 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.h View 1 chunk +0 lines, -18 lines 0 comments Download
M Source/core/events/EventTarget.idl View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/frame/Window.idl View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/workers/WorkerGlobalScope.idl View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Yuki
Could you review this CL?
5 years, 8 months ago (2015-04-24 11:45:47 UTC) #2
haraken
LGTM https://codereview.chromium.org/1083003004/diff/1/Source/bindings/core/v8/ToV8.cpp File Source/bindings/core/v8/ToV8.cpp (right): https://codereview.chromium.org/1083003004/diff/1/Source/bindings/core/v8/ToV8.cpp#newcode16 Source/bindings/core/v8/ToV8.cpp:16: // Notice that we explicitly ignore creationContext because ...
5 years, 8 months ago (2015-04-24 11:57:39 UTC) #3
Yuki
Could you take another look about UNLIKELY? What do you think of it? https://codereview.chromium.org/1083003004/diff/1/Source/bindings/core/v8/ToV8.cpp File ...
5 years, 8 months ago (2015-04-27 12:42:34 UTC) #4
haraken
https://codereview.chromium.org/1083003004/diff/1/Source/bindings/core/v8/ToV8.cpp File Source/bindings/core/v8/ToV8.cpp (right): https://codereview.chromium.org/1083003004/diff/1/Source/bindings/core/v8/ToV8.cpp#newcode37 Source/bindings/core/v8/ToV8.cpp:37: if (UNLIKELY(!impl)) On 2015/04/27 12:42:33, Yuki wrote: > On ...
5 years, 7 months ago (2015-04-28 00:56:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1083003004/60001
5 years, 7 months ago (2015-04-28 07:16:35 UTC) #8
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 09:57:18 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194587

Powered by Google App Engine
This is Rietveld 408576698