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

Issue 2529593002: Use utilizeUserGesture() everywhere in HTMLMediaElement (Closed)

Created:
4 years ago by foolip
Modified:
4 years 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

Use utilizeUserGesture() everywhere in HTMLMediaElement Drive-by: Make shouldAutoplay() const. BUG=617598 R=avayvod@chromium.org,rbyers@chromium.org

Patch Set 1 #

Patch Set 2 : rebase on https://codereview.chromium.org/2510353004/ #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 4 chunks +5 lines, -6 lines 6 comments Download

Depends on Patchset:

Messages

Total messages: 19 (7 generated)
foolip
4 years ago (2016-11-23 12:37:16 UTC) #1
whywhat
lgtm
4 years ago (2016-11-23 20:43:49 UTC) #8
Rick Byers
https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2150 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2150: if (UserGestureIndicator::utilizeUserGesture()) { This is just a semantics-preserving cleanup, ...
4 years ago (2016-11-25 15:51:59 UTC) #9
mlamouri (slow - plz ping)
4 years ago (2016-11-28 14:56:17 UTC) #11
foolip
https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2150 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2150: if (UserGestureIndicator::utilizeUserGesture()) { On 2016/11/25 15:51:59, Rick Byers wrote: ...
4 years ago (2016-11-28 15:13:06 UTC) #12
mlamouri (slow - plz ping)
foolip@, wouldn't this change break web pages creating multiple media elements for the purpose of ...
4 years ago (2016-11-29 10:00:07 UTC) #13
foolip
On 2016/11/29 10:00:07, mlamouri (OOO until 29-11) wrote: > foolip@, wouldn't this change break web ...
4 years ago (2016-11-29 10:03:07 UTC) #14
mlamouri (slow - plz ping)
On 2016/11/29 at 10:03:07, foolip wrote: > On 2016/11/29 10:00:07, mlamouri (OOO until 29-11) wrote: ...
4 years ago (2016-11-29 10:10:56 UTC) #15
foolip
On 2016/11/29 10:10:56, mlamouri (OOO until 29-11) wrote: > On 2016/11/29 at 10:03:07, foolip wrote: ...
4 years ago (2016-11-29 10:29:56 UTC) #16
mlamouri (slow - plz ping)
https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2150 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2150: if (UserGestureIndicator::utilizeUserGesture()) { On 2016/11/28 at 15:13:05, foolip wrote: ...
4 years ago (2016-12-01 10:24:51 UTC) #17
Rick Byers
On 2016/12/01 10:24:51, mlamouri wrote: > https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp > File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): > > https://codereview.chromium.org/2529593002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2150 > ...
4 years ago (2016-12-16 22:19:07 UTC) #18
foolip
4 years ago (2016-12-16 23:21:45 UTC) #19
Thanks Rick, I'm just going to abandon this review then.

Powered by Google App Engine
This is Rietveld 408576698