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

Issue 1407183002: Rename ShadowRootType::OpenByDefault to ShadowRootType::V0. (Closed)

Created:
5 years, 2 months ago by hayato
Modified:
5 years, 2 months ago
Reviewers:
tkent, kojii, kochi
CC:
apavlov+blink_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, rwlbuis, sergeyv+blink_chromium.org, sof, webcomponents-bugzilla_chromium.org, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@v1-attach-shadow
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename ShadowRootType::OpenByDefault to ShadowRootType::V0. The main reason we should distinguish OpenByDefault and Open explicitly until now is that both are created by the same API, Element::createShadowRoot(). Now we have Element::createShadowRoot and Element::attachShadow. The reason to have OpenByDefault and Open became weak. Using V0 is better than continuing to use OpenByDefault. In summary: - V0: created by Element::createShadowRoot - Open or Closed: created by Element::attachShadow V0 is also widely used in the spec discussion. BUG=531990 Committed: https://crrev.com/6f45e3adca41a86787188f5a0f87f0b157165e08 Cr-Commit-Position: refs/heads/master@{#354460}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -37 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/shadow/multiple-shadowroot-with-params.html View 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/shadow/multiple-shadowroot-with-params-expected.txt View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-type.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-type-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/SelectorQuery.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/TreeScopeTest.cpp View 4 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversalTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingTestBase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebElementTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/TextFinderTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407183002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407183002/1
5 years, 2 months ago (2015-10-16 05:04:20 UTC) #2
hayato
PTAL
5 years, 2 months ago (2015-10-16 05:14:22 UTC) #4
kochi
Hmm, I guess the main reason to keep the separate types for 2 open shadow ...
5 years, 2 months ago (2015-10-16 05:36:51 UTC) #5
hayato
Thanks. I've updated the description.
5 years, 2 months ago (2015-10-16 05:49:09 UTC) #6
kochi
On 2015/10/16 05:49:09, hayato wrote: > Thanks. I've updated the description. Thanks, looks much better ...
5 years, 2 months ago (2015-10-16 06:04:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407183002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407183002/1
5 years, 2 months ago (2015-10-16 06:05:43 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/109998)
5 years, 2 months ago (2015-10-16 06:14:53 UTC) #13
hayato
Added tkent@ for reviewers for third_party/WebKit/Source/web/*.
5 years, 2 months ago (2015-10-16 06:36:30 UTC) #15
tkent
lgtm
5 years, 2 months ago (2015-10-16 06:38:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407183002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407183002/1
5 years, 2 months ago (2015-10-16 06:38:42 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-10-16 06:43:49 UTC) #19
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 06:44:37 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6f45e3adca41a86787188f5a0f87f0b157165e08
Cr-Commit-Position: refs/heads/master@{#354460}

Powered by Google App Engine
This is Rietveld 408576698