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

Issue 2477203002: Media Controls: delegate 'volumechange' and 'focusin' handling to an EventListener. (Closed)

Created:
4 years, 1 month ago by mlamouri (slow - plz ping)
Modified:
4 years, 1 month ago
Reviewers:
foolip
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, nessy, Srirama, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Controls: delegate 'volumechange' and 'focusin' handling to an EventListener. MediaControls has an EventListener handling some HTMLMediaElement events in order for the media element to no longer depends on MediaControls. BUG=662761 Committed: https://crrev.com/15099fe2bbea4d7a205c0ef6220d23cfc6a802e2 Cr-Commit-Position: refs/heads/master@{#432053}

Patch Set 1 #

Total comments: 16

Patch Set 2 : tests iteration #

Patch Set 3 : moar tests #

Total comments: 8

Patch Set 4 : review comments #

Patch Set 5 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -199 lines) Patch
A third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute.html View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute-expected.html View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/controls/volumechange-stopimmediatepropagation.html View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/controls/volumechange-stopimmediatepropagation-expected.html View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/video-controls-hidden-audio.html View 1 1 chunk +29 lines, -21 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/video-mute-repaint-expected.txt View 1 1 chunk +1 line, -59 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/video-unmute-repaint-expected.txt View 1 1 chunk +1 line, -59 lines 0 comments Download
M third_party/WebKit/Source/core/html/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 6 chunks +6 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.h View 6 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.cpp View 1 7 chunks +26 lines, -34 lines 0 comments Download
A third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h View 1 chunk +30 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp View 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
mlamouri (slow - plz ping)
4 years, 1 month ago (2016-11-06 23:29:41 UTC) #4
mlamouri (slow - plz ping)
https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (left): https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#oldcode1093 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:1093: updateVolume(); FYI, I couldn't find what that was for. ...
4 years, 1 month ago (2016-11-07 00:26:06 UTC) #5
foolip
https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (left): https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#oldcode1093 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:1093: updateVolume(); On 2016/11/07 00:26:05, mlamouri (slow) wrote: > FYI, ...
4 years, 1 month ago (2016-11-08 10:28:29 UTC) #8
mlamouri (slow - plz ping)
https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (left): https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#oldcode1093 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:1093: updateVolume(); On 2016/11/08 at 10:28:29, foolip wrote: > On ...
4 years, 1 month ago (2016-11-11 05:29:17 UTC) #9
foolip
https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (left): https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#oldcode1093 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:1093: updateVolume(); On 2016/11/11 05:29:17, mlamouri (slow) wrote: > On ...
4 years, 1 month ago (2016-11-11 09:50:20 UTC) #14
mlamouri (slow - plz ping)
Just answered to one of the two comments (no more time). https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp File third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp (right): ...
4 years, 1 month ago (2016-11-11 19:13:28 UTC) #15
mlamouri (slow - plz ping)
PTAL https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (left): https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#oldcode1093 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:1093: updateVolume(); On 2016/11/11 at 09:50:20, foolip wrote: > ...
4 years, 1 month ago (2016-11-13 06:15:12 UTC) #17
foolip
lgtm % nits https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (left): https://codereview.chromium.org/2477203002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#oldcode1093 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:1093: updateVolume(); On 2016/11/13 06:15:11, mlamouri (slow) ...
4 years, 1 month ago (2016-11-14 16:07:38 UTC) #21
mlamouri (slow - plz ping)
https://codereview.chromium.org/2477203002/diff/40001/third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute.html File third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute.html (right): https://codereview.chromium.org/2477203002/diff/40001/third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute.html#newcode9 third_party/WebKit/LayoutTests/media/controls/volumechange-muted-attribute.html:9: audio.setAttribute('muted', true); On 2016/11/14 at 16:07:37, foolip wrote: > ...
4 years, 1 month ago (2016-11-14 23:46:29 UTC) #22
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/2477203002/80001
4 years, 1 month ago (2016-11-14 23:47:44 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-15 01:52:57 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 01:56:55 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/15099fe2bbea4d7a205c0ef6220d23cfc6a802e2
Cr-Commit-Position: refs/heads/master@{#432053}

Powered by Google App Engine
This is Rietveld 408576698