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

Issue 2322213002: Refactor ElementShadow by separating v0 related features as ElementShadowV0 (Closed)

Created:
4 years, 3 months ago by hayato
Modified:
4 years, 3 months ago
Reviewers:
tkent, kochi
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ElementShadow by separating v0 related features as ElementShadowV0 Introduces ElementShadowV0, separated from ElementShadow, to make the role of ElementShadow clear. The clear separation of v0 APIs and v1 APIS would prevent a misusage of ElementShadow. ElementShadowV0 is created only for v0 shadow trees. Thus, ElementShadow will be a light-weight object for v1 shadow trees. BUG=624724 Committed: https://crrev.com/76384394c1e14fda6f4bc0f3cae50563a136cbaa Cr-Commit-Position: refs/heads/master@{#418198}

Patch Set 1 #

Patch Set 2 : WIP #

Patch Set 3 : update #

Patch Set 4 : minor #

Total comments: 4

Patch Set 5 : addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -515 lines) Patch
M third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ElementShadow.h View 1 2 3 4 3 chunks +15 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp View 1 2 3 5 chunks +10 lines, -221 lines 0 comments Download
A + third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.h View 1 2 1 chunk +13 lines, -75 lines 0 comments Download
A + third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp View 1 2 6 chunks +36 lines, -154 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp View 1 2 3 4 5 chunks +14 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLContentElement.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 2 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
hayato
WIP
4 years, 3 months ago (2016-09-09 09:17:11 UTC) #3
hayato
update
4 years, 3 months ago (2016-09-13 04:14:38 UTC) #9
hayato
minor
4 years, 3 months ago (2016-09-13 06:27:22 UTC) #14
hayato
PTAL
4 years, 3 months ago (2016-09-13 06:50:29 UTC) #23
tkent
lgtm https://codereview.chromium.org/2322213002/diff/60001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h File third_party/WebKit/Source/core/dom/shadow/ElementShadow.h (left): https://codereview.chromium.org/2322213002/diff/60001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h#oldcode1 third_party/WebKit/Source/core/dom/shadow/ElementShadow.h:1: /* To me this file doesn't look a ...
4 years, 3 months ago (2016-09-13 07:09:45 UTC) #24
hayato
addressed
4 years, 3 months ago (2016-09-13 07:14:06 UTC) #25
hayato
Thank you for the review. https://codereview.chromium.org/2322213002/diff/60001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h File third_party/WebKit/Source/core/dom/shadow/ElementShadow.h (left): https://codereview.chromium.org/2322213002/diff/60001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h#oldcode1 third_party/WebKit/Source/core/dom/shadow/ElementShadow.h:1: /* Sure. Done. https://codereview.chromium.org/2322213002/diff/60001/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp ...
4 years, 3 months ago (2016-09-13 07:14:57 UTC) #28
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/2322213002/80001
4 years, 3 months ago (2016-09-13 07:15:19 UTC) #32
kochi
lgtm
4 years, 3 months ago (2016-09-13 07:37:04 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-13 08:43:12 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 08:44:56 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/76384394c1e14fda6f4bc0f3cae50563a136cbaa
Cr-Commit-Position: refs/heads/master@{#418198}

Powered by Google App Engine
This is Rietveld 408576698