[ios] Adjust the UI if exceptional allowed popups
For the exception section shown in settings -> content settings -> pop-ups, if there are exceptions set by the policy(AllowedPopupsForUrls) when pop-ups is blocked, they shouldn't be editable. At the same time, if there are some exceptional allowed popups set by the user, they remain editable. If all allowed popups urls are set by the policy, then the "edit" button on the top right of the page should be disabled. The UI and behaviour of the exception section is the same with above if DefaultPopupsSetting is set to "2" (block). Bug: 1142620 Change-Id: I0948acccc3bdf78be277b818a8f01a119a51856a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500252Reviewed-by:Sergio Collazos <sczs@chromium.org> Commit-Queue: Tina Wang <tinazwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#821772}
Showing
Please register or sign in to comment