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

Issue 2825493005: Enable smooth transition when show/hide media remoting interstitial. (Closed)

Created:
3 years, 8 months ago by xjz
Modified:
3 years, 7 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, 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, rwlbuis, nessy, Srirama
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable smooth transition when show/hide media remoting interstitial. BUG=712479 Review-Url: https://codereview.chromium.org/2825493005 Cr-Commit-Position: refs/heads/master@{#465712} Committed: https://chromium.googlesource.com/chromium/src/+/82722b0100d7e57d75b52fb1be9cb742f5cb91ba

Patch Set 1 #

Patch Set 2 : Rebase only. #

Total comments: 8

Patch Set 3 : Addressed comments. #

Total comments: 2

Patch Set 4 : Fix nits. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -5 lines) Patch
M third_party/WebKit/Source/core/css/mediaControls.css View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.cpp View 1 2 3 2 chunks +7 lines, -3 lines 2 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp View 1 2 2 chunks +44 lines, -1 line 0 comments Download

Messages

Total messages: 28 (18 generated)
xjz
kinuko: RS on third_party/WebKit/Source/core/css/mediaControls.css please. Thanks! mlamouri: As explained in the crbug page, transition doesn't ...
3 years, 8 months ago (2017-04-19 03:25:04 UTC) #5
kinuko
rs/lgtm for css change, one nit comment for others https://codereview.chromium.org/2825493005/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.h File third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.h (right): https://codereview.chromium.org/2825493005/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.h#newcode47 third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.h:47: ...
3 years, 8 months ago (2017-04-19 06:13:44 UTC) #10
mlamouri (slow - plz ping)
https://codereview.chromium.org/2825493005/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp File third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp (right): https://codereview.chromium.org/2825493005/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp#newcode49 third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp:49: if (is_shown_ && toggle_insterstitial_timer_.IsActive()) Why do you check if ...
3 years, 8 months ago (2017-04-19 16:17:19 UTC) #13
xjz
Thanks for reviewing! Addressed comments. PTAL again. Thanks! https://codereview.chromium.org/2825493005/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp File third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp (right): https://codereview.chromium.org/2825493005/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp#newcode49 third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.cpp:49: if ...
3 years, 8 months ago (2017-04-19 17:11:20 UTC) #14
mlamouri (slow - plz ping)
lgtm https://codereview.chromium.org/2825493005/diff/40001/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp File third_party/WebKit/Source/core/html/HTMLVideoElement.cpp (right): https://codereview.chromium.org/2825493005/diff/40001/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp#newcode511 third_party/WebKit/Source/core/html/HTMLVideoElement.cpp:511: DCHECK_EQ(media_remoting_status_, MediaRemotingStatus::kStarted); nit: swap the two parameters -- ...
3 years, 8 months ago (2017-04-19 17:58:46 UTC) #17
xjz
Thanks so much for the quick reviewing! https://codereview.chromium.org/2825493005/diff/40001/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp File third_party/WebKit/Source/core/html/HTMLVideoElement.cpp (right): https://codereview.chromium.org/2825493005/diff/40001/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp#newcode511 third_party/WebKit/Source/core/html/HTMLVideoElement.cpp:511: DCHECK_EQ(media_remoting_status_, MediaRemotingStatus::kStarted); ...
3 years, 8 months ago (2017-04-19 18:08:11 UTC) #18
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/2825493005/60001
3 years, 8 months ago (2017-04-19 18:09:27 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/82722b0100d7e57d75b52fb1be9cb742f5cb91ba
3 years, 8 months ago (2017-04-19 19:44:13 UTC) #25
whywhat
https://codereview.chromium.org/2825493005/diff/60001/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp File third_party/WebKit/Source/core/html/HTMLVideoElement.cpp (right): https://codereview.chromium.org/2825493005/diff/60001/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp#newcode521 third_party/WebKit/Source/core/html/HTMLVideoElement.cpp:521: MediaRemotingStopped(); This line seems to be either out of ...
3 years, 7 months ago (2017-05-18 16:31:37 UTC) #27
xjz
3 years, 7 months ago (2017-05-18 18:37:23 UTC) #28
Message was sent while issue was closed.
https://codereview.chromium.org/2825493005/diff/60001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/html/HTMLVideoElement.cpp (right):

https://codereview.chromium.org/2825493005/diff/60001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/html/HTMLVideoElement.cpp:521:
MediaRemotingStopped();
On 2017/05/18 16:31:36, whywhat wrote:
> This line seems to be either out of order or obsolete as MediaRemotingStopped
> will now early return due to the added check, won't it?

Yes, you are right. This call does nothing. With a second thought, I think the
MediaRemotingStopped() call here and the added early return can be removed. Will
upload a quick fix soon. Thanks for catching this!

Powered by Google App Engine
This is Rietveld 408576698