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

Issue 2219673004: Adjust MediaControls for effective zoom when dropping controls. (Closed)

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

Description

Adjust MediaControls for effective zoom when dropping controls. When computing how many controls fit in the media control panel, the effective zoom was ignored. This caused the control width to appear to change as they zoomed, even though the available space in the bar also changed proportionally. The effect was that zooming would change which controls were visible in the panel. This CL adjusts for the ComputedStyle's effective zoom. BUG=630466 TEST=media-controls-fit-properly-while-zoomed.html Committed: https://crrev.com/5d215e472cf4e2e831aa80b9eed4eb82beffdece Cr-Commit-Position: refs/heads/master@{#410644}

Patch Set 1 #

Total comments: 2

Patch Set 2 : reorganized conditionals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/media-controls-fit-properly-while-zoomed.html View 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.cpp View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
liberato (no reviews please)
thanks -fl
4 years, 4 months ago (2016-08-05 17:32:57 UTC) #9
mlamouri (slow - plz ping)
lgtm It seems that you will have to rebase media/video-zoom-controls.html https://codereview.chromium.org/2219673004/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/2219673004/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp#newcode711 ...
4 years, 4 months ago (2016-08-08 09:53:16 UTC) #12
liberato (no reviews please)
thanks! -fl https://codereview.chromium.org/2219673004/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/2219673004/diff/1/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp#newcode711 third_party/WebKit/Source/core/html/shadow/MediaControls.cpp:711: if (const ComputedStyle* style = m_playButton->layoutObject()->style()) On ...
4 years, 4 months ago (2016-08-08 16:02:51 UTC) #13
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/2219673004/20001
4 years, 4 months ago (2016-08-08 16:03:16 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/269035)
4 years, 4 months ago (2016-08-08 19:51:03 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/2219673004/20001
4 years, 4 months ago (2016-08-09 11:07:43 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-09 12:44:34 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 12:46:05 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5d215e472cf4e2e831aa80b9eed4eb82beffdece
Cr-Commit-Position: refs/heads/master@{#410644}

Powered by Google App Engine
This is Rietveld 408576698