|
Add options for audio/video autoplay to chrome://settings/content.
** WORK IN PROGRESS **
For almost five years users have been requesting autoplay settings. With
the recent addition of deferred playback in background tabs, we have a
further handful of unhappy users who want their autoplay back. It's high
time we had some settings for this!
This adds the following form to the Content Settings section:
* Allow autoplay of all audio or video content.
* Allow autoplay of only audio or video content detected as important.
* Do not allow autoplay of any audio or video content.
[ Manage Exceptions ]
The second option is today's default behavior (only visible content will
autoplay). The last option is what Android does, where a user gesture is
required to initiate playback.
BUG= 50132, 544723
TEST=...tbd...
Total comments: 25
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+142 lines, -6 lines) |
Patch |
|
M |
chrome/app/generated_resources.grd
|
View
|
|
2 chunks |
+17 lines, -0 lines |
4 comments
|
Download
|
|
M |
chrome/app/theme/theme_resources.grd
|
View
|
|
2 chunks |
+4 lines, -0 lines |
1 comment
|
Download
|
|
M |
chrome/browser/content_settings/tab_specific_content_settings.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/resources/options/content_settings.html
|
View
|
|
1 chunk |
+29 lines, -0 lines |
1 comment
|
Download
|
|
M |
chrome/browser/resources/options/content_settings_exceptions_area.html
|
View
|
|
1 chunk |
+3 lines, -0 lines |
1 comment
|
Download
|
|
M |
chrome/browser/ui/website_settings/website_settings.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/website_settings/website_settings_ui.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/options/content_settings_handler.cc
|
View
|
|
5 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/render_messages.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
|
1 chunk |
+9 lines, -4 lines |
4 comments
|
Download
|
|
M |
chrome/renderer/content_settings_observer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/content_settings_observer.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
2 comments
|
Download
|
|
M |
components/content_settings/core/browser/content_settings_registry.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
5 comments
|
Download
|
|
M |
components/content_settings/core/browser/content_settings_utils.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/content_settings/core/common/content_settings.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
components/content_settings/core/common/content_settings_types.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
4 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/loader/FrameLoader.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/FrameLoaderClientImpl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/web/WebContentSettingsClient.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
3 comments
|
Download
|
|
M |
tools/metrics/actions/actions.xml
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 28 (7 generated)
|