[ntp][modules] Disable toggle if module visibility is policy controlled
If the module visibility state is controlled by a policy the user is not able to set module visibility. We communicate that by graying out the toggle and showing a business icon explain the situation. Toggle off: screenshot/8dUeEADe6jyvyLa Toggle on: screenshot/K4WGhYvGnESmLYF Bug: 1142878 Change-Id: Id3af801552c6c01a2bf3611233c08de892393469 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2533581 Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:Esmael Elmoslimany <aee@chromium.org> Cr-Commit-Position: refs/heads/master@{#827011}
Showing
Please register or sign in to comment