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

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)

Created:
3 years, 8 months ago by adithyas
Modified:
3 years, 7 months ago
Reviewers:
haraken, jbroman
CC:
Aaron Boodman, abarth-chromium, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-style_chromium.org, chasej+watch_chromium.org, chromium-reviews, darin (slow to review), dglazkov+blink, eae+blinkwatch, iclelland, iclelland+watch_chromuim.org, kinuko+watch, lunalu1, qsr+mojo_chromium.org, rwlbuis, sof, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ScriptWrappable and dependencies to platform/bindings This CL moves ScriptWrappable.h/cpp and all its dependencies to platform/bindings. The original header for each file is not deleted, but is modified to point to the new header in platform/bindings (This will be cleaned up in follow-up CLs). BUG=682322 Review-Url: https://codereview.chromium.org/2843603002 Cr-Commit-Position: refs/heads/master@{#467719} Committed: https://chromium.googlesource.com/chromium/src/+/594ca9154ab4c2597ea11b8d6bc6d873274a79ce

Patch Set 1 #

Patch Set 2 : Add TODOs #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Remove stray include #

Total comments: 2

Patch Set 6 : Revert copyrights to originals #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase and try again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -5670 lines) Patch
M third_party/WebKit/Source/bindings/bindings.gni View 1 2 3 4 5 6 7 8 chunks +0 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.h View 1 1 chunk +3 lines, -65 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.cpp View 1 chunk +0 lines, -63 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h View 1 1 chunk +3 lines, -55 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp View 1 chunk +0 lines, -70 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h View 1 1 chunk +3 lines, -169 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMWrapperMap.h View 1 1 chunk +3 lines, -141 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h View 1 1 chunk +3 lines, -197 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp View 1 2 1 chunk +0 lines, -298 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h View 1 1 chunk +3 lines, -78 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperties.h View 1 1 chunk +3 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptState.h View 1 1 chunk +3 lines, -197 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp View 1 chunk +0 lines, -57 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h View 1 2 3 1 chunk +3 lines, -183 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp View 1 chunk +0 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h View 1 2 3 1 chunk +3 lines, -240 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -314 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h View 1 1 chunk +4 lines, -54 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/StringResource.h View 1 1 chunk +3 lines, -134 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/StringResource.cpp View 1 chunk +0 lines, -166 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h View 1 2 3 1 chunk +3 lines, -71 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.h View 1 1 chunk +3 lines, -28 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp View 1 chunk +0 lines, -52 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8Binding.h View 1 1 chunk +3 lines, -351 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp View 1 chunk +0 lines, -88 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8BindingMacros.h View 1 2 1 chunk +3 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.h View 1 1 chunk +3 lines, -165 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp View 1 chunk +0 lines, -99 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8GlobalValueMap.h View 1 1 chunk +3 lines, -114 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h View 1 1 chunk +3 lines, -53 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.cpp View 1 chunk +0 lines, -59 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h View 1 1 chunk +3 lines, -121 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp View 1 chunk +0 lines, -206 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h View 1 1 chunk +3 lines, -250 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -319 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -219 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp View 1 chunk +0 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ThrowException.h View 1 1 chunk +3 lines, -42 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp View 1 chunk +0 lines, -54 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ValueCache.h View 1 1 chunk +3 lines, -98 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/V8ValueCache.cpp View 1 chunk +0 lines, -157 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WrapperCreationSecurityCheck.h View 1 1 chunk +3 lines, -42 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/WrapperCreationSecurityCheck.cpp View 1 chunk +0 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h View 1 1 chunk +3 lines, -194 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp View 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSRule.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheet.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DOMTokenList.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/IdleDeadline.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ResizeObservation.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ResizeObserver.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/mojo/MojoHandle.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 2 chunks +45 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ActiveScriptWrappable.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ActiveScriptWrappable.cpp View 1 2 3 4 5 1 chunk +7 lines, -8 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h View 1 2 3 4 5 3 chunks +9 lines, -9 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ConditionalFeatures.cpp View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
A third_party/WebKit/Source/platform/bindings/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/DOMDataStore.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/DOMWrapperMap.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.cpp View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScopedPersistent.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptPromiseProperties.h View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptState.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptState.cpp View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptWrappable.h View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptWrappable.cpp View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptWrappableVisitor.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptWrappableVisitor.cpp View 1 2 3 4 5 6 1 chunk +12 lines, -16 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/ScriptWrappableVisitorVerifier.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/platform/bindings/StringResource.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/StringResource.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/TraceWrapperV8Reference.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V0CustomElementBinding.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V0CustomElementBinding.cpp View 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8Binding.h View 1 2 3 4 5 5 chunks +26 lines, -23 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8Binding.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8BindingMacros.h View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8DOMWrapper.h View 1 2 3 4 5 3 chunks +7 lines, -7 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8DOMWrapper.cpp View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8GlobalValueMap.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8ObjectConstructor.h View 1 2 3 4 5 1 chunk +39 lines, -14 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8ObjectConstructor.cpp View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8PerContextData.h View 1 2 3 4 5 3 chunks +10 lines, -9 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp View 1 2 3 4 5 3 chunks +13 lines, -9 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8PerIsolateData.h View 1 2 3 4 5 4 chunks +8 lines, -8 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8PerIsolateData.cpp View 1 2 3 4 5 6 1 chunk +7 lines, -8 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8PrivateProperty.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8PrivateProperty.cpp View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8ThrowException.h View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8ThrowException.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8ValueCache.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/V8ValueCache.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/WrapperCreationSecurityCheck.h View 2 chunks +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/WrapperCreationSecurityCheck.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/WrapperTypeInfo.h View 3 chunks +4 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/platform/bindings/WrapperTypeInfo.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (16 generated)
adithyas
3 years, 8 months ago (2017-04-25 21:40:36 UTC) #10
jbroman
Will have a closer look tomorrow, but saw one thing at a glance. https://codereview.chromium.org/2843603002/diff/80001/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h File ...
3 years, 8 months ago (2017-04-25 21:45:35 UTC) #11
haraken
LGTM with jbroman's comment addressed.
3 years, 8 months ago (2017-04-26 01:19:46 UTC) #12
adithyas
https://codereview.chromium.org/2843603002/diff/80001/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h File third_party/WebKit/Source/platform/bindings/ScriptWrappable.h (right): https://codereview.chromium.org/2843603002/diff/80001/third_party/WebKit/Source/platform/bindings/ScriptWrappable.h#newcode2 third_party/WebKit/Source/platform/bindings/ScriptWrappable.h:2: * Copyright (C) 2017 Google Inc. All rights reserved. ...
3 years, 8 months ago (2017-04-26 19:44:50 UTC) #13
jbroman
A platform/bindings/README.md would be nice, but lgtm regardless.
3 years, 8 months ago (2017-04-26 19:48:21 UTC) #14
adithyas
On 2017/04/26 at 19:48:21, jbroman wrote: > A platform/bindings/README.md would be nice, but lgtm regardless. ...
3 years, 8 months ago (2017-04-26 20:02:07 UTC) #15
jbroman
On 2017/04/26 at 20:02:07, adithyas wrote: > On 2017/04/26 at 19:48:21, jbroman wrote: > > ...
3 years, 8 months ago (2017-04-26 20:08:56 UTC) #16
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/2843603002/120001
3 years, 8 months ago (2017-04-26 20:14:15 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/439919)
3 years, 8 months ago (2017-04-26 23:19:58 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/2843603002/140001
3 years, 7 months ago (2017-04-27 15:01:07 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 17:42:47 UTC) #27
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/594ca9154ab4c2597ea11b8d6bc6...

Powered by Google App Engine
This is Rietveld 408576698