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

Issue 2374733002: Media Controls: take into consideration high margin on some elements. (Closed)

Created:
4 years, 2 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 2 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, Srirama, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Controls: take into consideration high margin on some elements. When computing the width required to show the controls, we should take into consideration elements with a large margin. It is in general better to overestimate that under estimate to avoid buttons being cut. BUG=650670 TEST=Manual testing on https://mounirlamouri.github.io/sandbox/media/dynamic-controls.html Committed: https://crrev.com/c8b4bc2d7895981dcdc674e69c9691271dc0c483 Cr-Commit-Position: refs/heads/master@{#422246}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments #

Patch Set 3 : one rebaseline #

Patch Set 4 : rebaseline #

Patch Set 5 : rebase #

Patch Set 6 : rebaseline #

Messages

Total messages: 31 (22 generated)
mlamouri (slow - plz ping)
Frank PTAL. I'm assuming that there is some history around the code here. I want ...
4 years, 2 months ago (2016-09-27 15:07:07 UTC) #2
liberato (no reviews please)
https://codereview.chromium.org/2374733002/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/2374733002/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp#newcode751 third_party/WebKit/Source/core/html/shadow/MediaControls.cpp:751: int largeMinimumWidth = minimumWidth * 2; is this enough ...
4 years, 2 months ago (2016-09-27 16:33:53 UTC) #8
mlamouri (slow - plz ping)
Comments applied. PTAL. https://codereview.chromium.org/2374733002/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/2374733002/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp#newcode751 third_party/WebKit/Source/core/html/shadow/MediaControls.cpp:751: int largeMinimumWidth = minimumWidth * 2; ...
4 years, 2 months ago (2016-09-29 13:00:39 UTC) #10
liberato (no reviews please)
lgtm
4 years, 2 months ago (2016-09-29 14:55:06 UTC) #11
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/2374733002/60001
4 years, 2 months ago (2016-09-30 13:34:51 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/151481)
4 years, 2 months ago (2016-09-30 14:23:32 UTC) #20
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/2374733002/100001
4 years, 2 months ago (2016-09-30 20:48:57 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-30 22:33:40 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 22:36:21 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c8b4bc2d7895981dcdc674e69c9691271dc0c483
Cr-Commit-Position: refs/heads/master@{#422246}

Powered by Google App Engine
This is Rietveld 408576698