Commit e1653873 authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Make exceptions in Flash settings page read only.

Flash content settings are planned to become ephemeral and this feature
is behind 'EnableEphemeralFlashPermission' switch.
To make the ephemeral case more apparent to the user, the 'Add' buttons
for 'Allow' and 'Block' exceptions in Flash content settings are
removed and this is done by making the list read only.

Bug: 850062
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I0c216cc0f319a579bcab1639f0b7345070b474c8
Reviewed-on: https://chromium-review.googlesource.com/1124360Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572470}
parent 51e125af
......@@ -392,7 +392,8 @@
</if>
<category-setting-exceptions
category="{{ContentSettingsTypes.PLUGINS}}"
block-header="$i18n{siteSettingsBlock}">
block-header="$i18n{siteSettingsBlock}"
read-only-list="[[enableEphemeralFlashPermission_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment