| Index: ui/webui/resources/cr_elements/policy/cr_policy_indicator.html
|
| diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_indicator.html b/ui/webui/resources/cr_elements/policy/cr_policy_indicator.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cff4f8c0995f40ef0cd2a401fc1b64de80f9d497
|
| --- /dev/null
|
| +++ b/ui/webui/resources/cr_elements/policy/cr_policy_indicator.html
|
| @@ -0,0 +1,28 @@
|
| +<link rel="import" href="chrome://resources/cr_elements/icons.html">
|
| +<link rel="import" href="chrome://resources/html/polymer.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-tooltip/paper-tooltip.html">
|
| +<link rel="import" href="cr_policy_indicator_behavior.html">
|
| +<link rel="import" href="cr_policy_vars_css.html">
|
| +
|
| +<dom-module id="cr-policy-indicator">
|
| + <style>
|
| + :host {
|
| + @apply(--cr-policy-indicator);
|
| + }
|
| +
|
| + paper-tooltip {
|
| + --paper-tooltip: var(--cr-policy-tooltip);
|
| + }
|
| + </style>
|
| + <template>
|
| + <iron-icon id="indicator" tabindex="0" aria-label$="[[iconAriaLabel]]"
|
| + aria-describedby="tooltip" hidden$="[[!indicatorVisible]]"
|
| + icon="[[indicatorIcon]]"></iron-icon>
|
| + <paper-tooltip id="tooltip" for="indicator" position="top"
|
| + fit-to-visible-bounds>
|
| + [[indicatorTooltip]]
|
| + </paper-tooltip>
|
| + </template>
|
| + <script src="cr_policy_indicator.js"></script>
|
| +</dom-module>
|
|
|