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

Issue 2086293004: Document/ShadowRoot split of pointerLockElement (Closed)

Created:
4 years, 6 months ago by kochi
Modified:
4 years, 5 months ago
Reviewers:
tkent, hayato, Ilya Sherman
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, scheib, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Document/ShadowRoot split of pointerLockElement As discussed in https://github.com/w3c/webcomponents/issues/192 document.pointerLockElement should be now shadow-dom aware, and it gets adjusted to its node tree. ShadowRoot.pointerLockElement is also added so it should work similar to how document/ShadowRoot.activeElement works. BUG=622584 Committed: https://crrev.com/d148a25d4b552d08fe0971faf9464c17cedc7e8f Cr-Commit-Position: refs/heads/master@{#402625}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Update test expectation #

Patch Set 5 : Handle V0 case #

Patch Set 6 : update UseCounters #

Total comments: 22

Patch Set 7 : fix for comments in PS6 #

Total comments: 8

Patch Set 8 : update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/shadow-dom/pointer-lock-in-shadow.html View 1 2 3 4 5 6 1 chunk +70 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow.html View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow2.html View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow3.html View 1 2 3 4 5 6 1 chunk +60 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.idl View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h View 1 2 3 4 5 6 7 2 chunks +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.idl View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/TreeScope.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/TreeScope.cpp View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/PointerLockController.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (23 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/2086293004/60001
4 years, 6 months ago (2016-06-23 11:07:08 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/251221)
4 years, 6 months ago (2016-06-23 12:14:07 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2086293004/80001
4 years, 6 months ago (2016-06-24 05:17:58 UTC) #8
kochi
PTAL I'll update chromestatus entry for this and announce to blink-dev.
4 years, 6 months ago (2016-06-24 05:42:31 UTC) #10
hayato
On 2016/06/24 at 05:42:31, kochi wrote: > PTAL > > I'll update chromestatus entry for ...
4 years, 6 months ago (2016-06-24 05:57:51 UTC) #11
kochi
On 2016/06/24 05:57:51, hayato wrote: > On 2016/06/24 at 05:42:31, kochi wrote: > > PTAL ...
4 years, 6 months ago (2016-06-24 06:01:05 UTC) #12
hayato
On 2016/06/24 at 06:01:05, kochi wrote: > On 2016/06/24 05:57:51, hayato wrote: > > On ...
4 years, 6 months ago (2016-06-24 06:09:25 UTC) #13
kochi
On 2016/06/24 06:09:25, hayato wrote: > On 2016/06/24 at 06:01:05, kochi wrote: > > On ...
4 years, 6 months ago (2016-06-24 06:14:49 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 06:40:28 UTC) #16
kochi
On 2016/06/24 06:14:49, kochi wrote: > On 2016/06/24 06:09:25, hayato wrote: > > On 2016/06/24 ...
4 years, 6 months ago (2016-06-24 06:42:26 UTC) #17
hayato
Use you best judge in either cases. There is no risk to break compatibility in ...
4 years, 6 months ago (2016-06-24 07:17:38 UTC) #18
kochi
On 2016/06/24 07:17:38, hayato wrote: > Use you best judge in either cases. There is ...
4 years, 6 months ago (2016-06-24 10:41:37 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2086293004/120001
4 years, 6 months ago (2016-06-24 11:01:20 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2086293004/140001
4 years, 6 months ago (2016-06-24 11:11:26 UTC) #25
kochi
Updated the CL. PTAL.
4 years, 6 months ago (2016-06-24 11:12:08 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 12:19:02 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2086293004/160001
4 years, 5 months ago (2016-06-27 05:31:24 UTC) #30
kochi
Split DocumentPointerLockElement to DocumentPointerLockElement and ShadowRootPointerLockElement. Also added DocumentPointerLockElementInV0Shadow for deprecation. And merged https://codereview.chromium.org/2094933002/ (counter ...
4 years, 5 months ago (2016-06-27 05:34:36 UTC) #31
hayato
https://codereview.chromium.org/2086293004/diff/160001/third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow.html File third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow.html (right): https://codereview.chromium.org/2086293004/diff/160001/third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow.html#newcode8 third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow.html:8: <slot></slot> slot is invalid in v0 shadow trees. https://codereview.chromium.org/2086293004/diff/160001/third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow2.html ...
4 years, 5 months ago (2016-06-27 06:43:13 UTC) #32
kochi
Thanks for the review! Please hold on further review until I update another patchset to ...
4 years, 5 months ago (2016-06-27 07:11:37 UTC) #34
kochi
PTAL (I also updated the spec change proposal in https://github.com/w3c/pointerlock/pull/4 ) https://codereview.chromium.org/2086293004/diff/160001/third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow2.html File third_party/WebKit/LayoutTests/shadow-dom/v0/pointer-lock-in-shadow2.html (right): ...
4 years, 5 months ago (2016-06-28 06:34:07 UTC) #37
hayato
lgtm https://codereview.chromium.org/2086293004/diff/240001/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h File third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h (right): https://codereview.chromium.org/2086293004/diff/240001/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h#newcode59 third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h:59: // TODO(kochi): Once V0 code is deprecated, the ...
4 years, 5 months ago (2016-06-28 06:54:20 UTC) #38
kochi
Thanks for the reviews! https://codereview.chromium.org/2086293004/diff/240001/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h File third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h (right): https://codereview.chromium.org/2086293004/diff/240001/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h#newcode59 third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.h:59: // TODO(kochi): Once V0 code ...
4 years, 5 months ago (2016-06-28 08:20:24 UTC) #39
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/2086293004/260001
4 years, 5 months ago (2016-06-28 08:30:53 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/208307)
4 years, 5 months ago (2016-06-28 08:41:31 UTC) #44
kochi
tkent-san, could you review for LayoutTests/virtual/stable/webexposed/global-interface-listing ? isherman, could you review histograms.xml?
4 years, 5 months ago (2016-06-28 09:27:06 UTC) #46
tkent
lgtm. I assume this is a part of Shadow DOM v1, and we may skip ...
4 years, 5 months ago (2016-06-28 09:33:57 UTC) #47
Ilya Sherman
histograms.xml lgtm
4 years, 5 months ago (2016-06-28 20:30:27 UTC) #48
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/2086293004/260001
4 years, 5 months ago (2016-06-29 00:44:01 UTC) #50
commit-bot: I haz the power
Committed patchset #8 (id:260001)
4 years, 5 months ago (2016-06-29 00:53:40 UTC) #52
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 00:56:09 UTC) #54
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d148a25d4b552d08fe0971faf9464c17cedc7e8f
Cr-Commit-Position: refs/heads/master@{#402625}

Powered by Google App Engine
This is Rietveld 408576698