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

Issue 1921073002: Add partial viewport visibility check to autoplay experiment. (Closed)

Created:
4 years, 8 months ago by liberato (no reviews please)
Modified:
4 years, 8 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add partial viewport visibility check to autoplay experiment. Adds -ifpartialviewport to require 1x1 overlap of the media element with the viewport area, before autoplay is allowed. This differs from -ifviewport, which requires the element to be completely visible within the viewport. BUG=605609 Committed: https://crrev.com/fafc5a0d288d30ad051e9269d6bdac1f79ed2f5b Cr-Commit-Position: refs/heads/master@{#389802}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -11 lines) Patch
M third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h View 2 chunks +16 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp View 5 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
mlamouri (slow - plz ping)
Instead of adding yet another flag, can we simply change -ifviewport to accept partial viewport? ...
4 years, 8 months ago (2016-04-26 14:04:21 UTC) #3
liberato (no reviews please)
On 2016/04/26 14:04:21, Mounir Lamouri wrote: > Instead of adding yet another flag, can we ...
4 years, 8 months ago (2016-04-26 14:32:30 UTC) #4
philipj_slow
This is my last week at Opera, so I can't take on any new reviews ...
4 years, 8 months ago (2016-04-26 14:35:50 UTC) #6
mlamouri (slow - plz ping)
lgtm Ok.
4 years, 8 months ago (2016-04-26 14:45:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921073002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921073002/1
4 years, 8 months ago (2016-04-26 15:25:24 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-26 16:27:59 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 16:29:03 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/fafc5a0d288d30ad051e9269d6bdac1f79ed2f5b
Cr-Commit-Position: refs/heads/master@{#389802}

Powered by Google App Engine
This is Rietveld 408576698