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

Issue 2323953003: Clarify a role of Shadow DOM related functions (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

Clarify a role of Shadow DOM related functions ElementShadow's member functions, and other functions, are still confusing. It is not clearly demonstrated that each function is for v0 or v1. This CL makes it clear by: - Adding DCHECK() - Rename function names - Check whether v0 or v1 in caller sides This CL is a preparation for further ElementShadow's refactoring. BUG=624724 Committed: https://crrev.com/ab06a2848c7ed182395652221a8063e6df583b25 Cr-Commit-Position: refs/heads/master@{#418178}

Patch Set 1 #

Patch Set 2 : clarify #

Total comments: 5

Patch Set 3 : rebased #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -26 lines) Patch
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 3 chunks +12 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp View 1 2 3 11 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLContentElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (21 generated)
hayato
clarify
4 years, 3 months ago (2016-09-09 05:55:07 UTC) #3
hayato
PTAL
4 years, 3 months ago (2016-09-09 06:07:12 UTC) #9
kochi
https://codereview.chromium.org/2323953003/diff/20001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h File third_party/WebKit/Source/core/dom/shadow/ElementShadow.h (right): https://codereview.chromium.org/2323953003/diff/20001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h#newcode73 third_party/WebKit/Source/core/dom/shadow/ElementShadow.h:73: nit: Why not adding "V0" or "ForV0" for these ...
4 years, 3 months ago (2016-09-09 06:51:06 UTC) #12
hayato
https://codereview.chromium.org/2323953003/diff/20001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h File third_party/WebKit/Source/core/dom/shadow/ElementShadow.h (right): https://codereview.chromium.org/2323953003/diff/20001/third_party/WebKit/Source/core/dom/shadow/ElementShadow.h#newcode73 third_party/WebKit/Source/core/dom/shadow/ElementShadow.h:73: I won't it now. That can be considered at ...
4 years, 3 months ago (2016-09-09 07:03:29 UTC) #13
kochi
lgtm https://codereview.chromium.org/2323953003/diff/20001/third_party/WebKit/Source/core/html/HTMLContentElement.cpp File third_party/WebKit/Source/core/html/HTMLContentElement.cpp (right): https://codereview.chromium.org/2323953003/diff/20001/third_party/WebKit/Source/core/html/HTMLContentElement.cpp#newcode79 third_party/WebKit/Source/core/html/HTMLContentElement.cpp:79: if (!root->isV1() && root->owner()) On 2016/09/09 07:03:29, hayato ...
4 years, 3 months ago (2016-09-09 07:06:58 UTC) #14
hayato
rebased
4 years, 3 months ago (2016-09-09 07:16:30 UTC) #15
commit-bot: I haz the power
This CL has an open dependency (Issue 2327743002 Patch 20001). Please resolve the dependency and ...
4 years, 3 months ago (2016-09-09 07:17:04 UTC) #22
hayato
rebased
4 years, 3 months ago (2016-09-13 04:17:08 UTC) #24
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/2323953003/60001
4 years, 3 months ago (2016-09-13 04:17:28 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-13 05:44:47 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 05:46:57 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ab06a2848c7ed182395652221a8063e6df583b25
Cr-Commit-Position: refs/heads/master@{#418178}

Powered by Google App Engine
This is Rietveld 408576698