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

Issue 2588823002: Media Controls: change how the MediaControls object is created and handled. (Closed)

Created:
4 years ago by mlamouri (slow - plz ping)
Modified:
4 years ago
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: change how the MediaControls object is created and handled. The HTMLMediaElement no longer adds the MediaControls to the shadow tree in order to prepare for the class to be an interface implemented by modules. This CL also removes a couple of reset() call. BUG=662761 R=zqzhang@chromium.org Committed: https://crrev.com/a0651819997c475b2ed28428e0fb81e72c82eab8 Cr-Commit-Position: refs/heads/master@{#439811}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -28 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 9 chunks +18 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.cpp View 3 chunks +4 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (9 generated)
mlamouri (slow - plz ping)
PTAL
4 years ago (2016-12-19 18:40:16 UTC) #2
Zhiqiang Zhang (Slow)
lgtm w/ nit Now the controls are getting much cleaner :) https://codereview.chromium.org/2588823002/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp File third_party/WebKit/Source/core/html/shadow/MediaControls.cpp (left): ...
4 years ago (2016-12-20 12:16:46 UTC) #6
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/2588823002/20001
4 years ago (2016-12-20 13:35:54 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/2588823002/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp File third_party/WebKit/Source/core/html/shadow/MediaControls.cpp (left): https://codereview.chromium.org/2588823002/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp#oldcode357 third_party/WebKit/Source/core/html/shadow/MediaControls.cpp:357: m_fullscreenButton->setIsFullscreen(mediaElement().isFullscreen()); On 2016/12/20 at 12:16:46, Zhiqiang Zhang wrote: > ...
4 years ago (2016-12-20 13:36:24 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 15:56:14 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-20 15:59:38 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a0651819997c475b2ed28428e0fb81e72c82eab8
Cr-Commit-Position: refs/heads/master@{#439811}

Powered by Google App Engine
This is Rietveld 408576698