|
|
CLOSED in favor of the post-blink-merge https://codereview.chromium.org/1370723002 . Please redirect reviews there!
====
Include viewport visibility checks for autoplay experiment.
If the value of the autoplayExperimentMode setting contains
"-ifviewport", then the autoplay experiment will additionally
require that the media is located in the viewport bounds.
Autoplay is deferred until it comes into view, assuming that
it passes any other autoplay experiment checks that have been
turned on.
BUG= 487345, 402044
Total comments: 1
Total comments: 34
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+618 lines, -78 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html
|
View
|
1
2
3
4
|
12 chunks |
+101 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes-expected.txt
|
View
|
1
2
3
4
|
2 chunks |
+48 lines, -42 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/AutoplayExperimentConfig.h
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/AutoplayExperimentConfig.cpp
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h
|
View
|
1
2
3
4
|
3 chunks |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
|
View
|
1
2
3
4
|
7 chunks |
+243 lines, -15 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutMedia.h
|
View
|
1
2
3
4
|
2 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutMedia.cpp
|
View
|
1
2
3
4
|
2 chunks |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutVideo.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutVideo.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutView.h
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutView.cpp
|
View
|
1
2
3
4
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/testing/Internals.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/testing/Internals.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/testing/Internals.idl
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (2 generated)
|