Chromium Code Reviews
DescriptionAdd 'autoplay' content settings and expose it to Blink.
The new content settings is CONTENT_SETTINGS_TYPE_AUTOPLAY and it is exposed
to Blink via WebContentSettingsClient::allowAutoplay(). The client is kept is
sync by the browser process to avoid sync IPC or adding complex asynchronous
logic to HTMLMediaElement.
This CL doesn't add UI nor use the settings in order to keep things compartmented.
HTMLMediaElement will check the settings value in some situations.
More context in here:
https://docs.google.com/presentation/d/17ZXOdGosCso_SoMvQ9ckCsElvn_0YW2Q13y5ZqQ9dyU/edit
BUG=604751
Committed: https://crrev.com/709d8a936ef6aefde7411adb814744dc864c8d49
Cr-Commit-Position: refs/heads/master@{#390065}
Patch Set 1 #
Total comments: 2
Patch Set 2 : add tests and apply comments #Patch Set 3 : #
Total comments: 3
Messages
Total messages: 32 (10 generated)
|