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

Issue 1948363004: Use media controls play button's width rather than hard-coded 48px. (Closed)

Created:
4 years, 7 months ago by liberato (no reviews please)
Modified:
4 years, 7 months 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, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@crbug585078_playbutton
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use media controls play button's width rather than hard-coded 48px. Previously, when computing which controls fit on the media panel, we would use 48px for the android UI. Desktop uses 32px. Since the play button is always visible, and thus will have a computed style once layout happens, we'll now use that. BUG=609851 Committed: https://crrev.com/b2ca18bc9b7f46aff95987ffbc612cb3c7ae1eb2 Cr-Commit-Position: refs/heads/master@{#393540}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M third_party/WebKit/Source/core/html/shadow/MediaControls.cpp View 1 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
liberato (no reviews please)
i wasn't able to figure out how to do this without causing a layout sometimes. ...
4 years, 7 months ago (2016-05-06 17:17:47 UTC) #3
mlamouri (slow - plz ping)
https://codereview.chromium.org/1948363004/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp File third_party/WebKit/Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/1948363004/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp#newcode712 third_party/WebKit/Source/core/html/shadow/MediaControls.cpp:712: : 48; `minimumWidth` is being used by all elements ...
4 years, 7 months ago (2016-05-09 12:41:39 UTC) #4
liberato (no reviews please)
On 2016/05/09 12:41:39, Mounir Lamouri wrote: > https://codereview.chromium.org/1948363004/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp > File third_party/WebKit/Source/core/html/shadow/MediaControls.cpp (right): > > https://codereview.chromium.org/1948363004/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp#newcode712 ...
4 years, 7 months ago (2016-05-09 15:27:36 UTC) #5
mlamouri (slow - plz ping)
This is really confusing that we assume that everything has the size of the play ...
4 years, 7 months ago (2016-05-10 09:06:45 UTC) #6
liberato (no reviews please)
On 2016/05/10 09:06:45, Mounir Lamouri wrote: > This is really confusing that we assume that ...
4 years, 7 months ago (2016-05-10 15:38:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1948363004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1948363004/1
4 years, 7 months ago (2016-05-10 15:39:13 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/3063) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-10 15:41:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1948363004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1948363004/20001
4 years, 7 months ago (2016-05-10 15:58:46 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/219131)
4 years, 7 months ago (2016-05-10 20:27:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1948363004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1948363004/20001
4 years, 7 months ago (2016-05-13 14:34:48 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-13 16:22:17 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 16:24:13 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b2ca18bc9b7f46aff95987ffbc612cb3c7ae1eb2
Cr-Commit-Position: refs/heads/master@{#393540}

Powered by Google App Engine
This is Rietveld 408576698