Skip to content
Commit 8c5b2a2f authored by Frank Liberato's avatar Frank Liberato Committed by Chromium LUCI CQ
Browse files

[autopip] Create settings UI helper class

This CL introduces a helper class to hold all the content setting
and embargo logic for auto-pip.  Based on the content setting, it
will optionally create the "allow / block" UI to let the user
change the content setting from the pip window.

It also introduces the plumbing to keep this logic shared between
the video and document pip implementations.

Right now, it has only placeholder logic to display the auto-pip
allow / block UI at all times when the off-by-default Media Session
pip action flag is enabled, for document pip only.  Video pip does
not display the UI, to keep the CL size more manageable.

Change-Id: If94f43fec14db22e84983d1dd19b12be5ca72fd2
Bug: 1464066
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4688277


Commit-Queue: Frank Liberato <liberato@chromium.org>
Reviewed-by: default avatarFr <beaufort.francois@gmail.com>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1184846}
parent 9b849489
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment