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

Issue 2091253002: When autoplaying muted video, record when unmute happen and the result. (Closed)

Created:
4 years, 6 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 5 months ago
Reviewers:
whywhat, Steven Holte
CC:
asvitkine+watch_chromium.org, 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

When autoplaying muted video, record when unmute happen and the result. Unmuting might fail if the element was not unlocked. This is record the unmute action only if the element is muted and was playing because of the autoplay muted video feature. It will be recorded once per element. BUG=622711 Committed: https://crrev.com/d26c8d5d38d8613d61dfe02af9451275868ecb98 Cr-Commit-Position: refs/heads/master@{#402937}

Patch Set 1 #

Total comments: 5

Patch Set 2 : review comments and rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -8 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 3 chunks +22 lines, -6 lines 2 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
mlamouri (slow - plz ping)
jwd@, PTAL at histograms changes. avayvod@, PTAL at HTMLMediaElement changes.
4 years, 6 months ago (2016-06-24 09:00:54 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2091253002/1
4 years, 6 months ago (2016-06-24 09:01:24 UTC) #4
mlamouri (slow - plz ping)
-jwd@ (he is OOO) +holte@ for histograms
4 years, 6 months ago (2016-06-24 09:02:44 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 10:36:21 UTC) #8
Steven Holte
lgtm
4 years, 5 months ago (2016-06-27 20:05:17 UTC) #9
whywhat
I mainly don't like duplicating the autoplay muted conditions, left some nits with suggestions. https://codereview.chromium.org/2091253002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ...
4 years, 5 months ago (2016-06-28 10:20:59 UTC) #10
mlamouri (slow - plz ping)
Anton, PTAL. I've applied your comments. I need to double-check that using isLockedPendingUserGesture() is fine ...
4 years, 5 months ago (2016-06-28 13:58:27 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2091253002/20001
4 years, 5 months ago (2016-06-28 13:58:55 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/235644)
4 years, 5 months ago (2016-06-28 15:16:21 UTC) #15
whywhat
lgtm https://codereview.chromium.org/2091253002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2091253002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2298 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2298: if (UserGestureIndicator::processingUserGesture()) nit: you could avoid moving that ...
4 years, 5 months ago (2016-06-29 19:44:19 UTC) #16
mlamouri (slow - plz ping)
https://codereview.chromium.org/2091253002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2091253002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2298 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2298: if (UserGestureIndicator::processingUserGesture()) On 2016/06/29 at 19:44:18, whywhat wrote: > ...
4 years, 5 months ago (2016-06-29 19:47:59 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/2091253002/20001
4 years, 5 months ago (2016-06-29 19:49:53 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-29 21:36:31 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 21:37:01 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 21:40:27 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d26c8d5d38d8613d61dfe02af9451275868ecb98
Cr-Commit-Position: refs/heads/master@{#402937}

Powered by Google App Engine
This is Rietveld 408576698