Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: ui/webui/resources/cr_elements/policy/README.md

Issue 2696903005: Move common cr-policy-indicator behavior into CrPolicyIndicatorBehavior (Closed)
Patch Set: comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Policy indicators show when a setting is controlled by something other than the
2 user, especially user/device policy. The badge icons are sourced from
3 [cr_elements/icons.html](../icons.html) by default. Indicators show a tooltip on
4 hover when `CrPolicyStrings` is defined.
5
6 Elements like `<cr-policy-pref-indicator>` and `<cr-policy-network-indicator>`
7 are designed to be reused in WebUI pages:
8
9 <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator>
10
11 For one-off or composed elements, CrPolicyIndicatorBehavior provides some
12 configurable properties and calculates dependent properties, such as the
13 tooltip, icon, and visibility of the indicator.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698