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

Issue 363563007: Only show overlay play button when controls are enabled. (Closed)

Created:
6 years, 5 months ago by Fredrik Öhrn
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@shouldShowControls
Project:
blink
Visibility:
Public.

Description

Only show overlay play button when controls are enabled. BUG=347105 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177418

Patch Set 1 #

Total comments: 1

Patch Set 2 : Handle show and add test #

Patch Set 3 : Extended test coverage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -1 line) Patch
A LayoutTests/media/video-controls-overlay-play-button.html View 1 2 1 chunk +72 lines, -0 lines 0 comments Download
A LayoutTests/media/video-controls-overlay-play-button-expected.txt View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M Source/core/html/shadow/MediaControlElements.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/MediaControls.cpp View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Fredrik Öhrn
This is a new attempt at fixing the overlay play button bug. The play button ...
6 years, 5 months ago (2014-07-01 13:10:50 UTC) #1
acolwell GONE FROM CHROMIUM
please add a test. https://codereview.chromium.org/363563007/diff/1/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/363563007/diff/1/Source/core/html/shadow/MediaControls.cpp#newcode207 Source/core/html/shadow/MediaControls.cpp:207: m_overlayPlayButton->hide(); It seems like there ...
6 years, 5 months ago (2014-07-01 17:06:22 UTC) #2
philipj_slow
For that test, you'll need to enable the overlay play button with something like this: ...
6 years, 5 months ago (2014-07-01 21:57:34 UTC) #3
Fredrik Öhrn
On 2014/07/01 17:06:22, acolwell wrote: > please add a test. > Done. > https://codereview.chromium.org/363563007/diff/1/Source/core/html/shadow/MediaControls.cpp > ...
6 years, 5 months ago (2014-07-02 09:57:11 UTC) #4
Fredrik Öhrn
I extended the test to cover all combinations of controls and play/pause.
6 years, 5 months ago (2014-07-02 11:13:35 UTC) #5
acolwell GONE FROM CHROMIUM
lgtm
6 years, 5 months ago (2014-07-02 16:09:26 UTC) #6
Fredrik Öhrn
The CQ bit was checked by ohrn@opera.com
6 years, 5 months ago (2014-07-02 19:15:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/363563007/40001
6 years, 5 months ago (2014-07-02 19:17:03 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-02 20:39:31 UTC) #9
Message was sent while issue was closed.
Change committed as 177418

Powered by Google App Engine
This is Rietveld 408576698