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

Side by Side Diff: ui/webui/resources/cr_elements/policy/cr_policy_indicator.html

Issue 2744923002: cr-policy-indicator element for non-preference-based indicators (Closed)
Patch Set: alphabetize Created 3 years, 9 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 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tooltip/paper-too ltip.html">
5 <link rel="import" href="cr_policy_indicator_behavior.html">
6 <link rel="import" href="cr_policy_vars_css.html">
7
8 <dom-module id="cr-policy-indicator">
9 <style>
10 :host {
11 @apply(--cr-policy-indicator);
12 }
13
14 paper-tooltip {
15 --paper-tooltip: var(--cr-policy-tooltip);
16 }
17 </style>
18 <template>
19 <iron-icon id="indicator" tabindex="0" aria-label$="[[iconAriaLabel]]"
20 aria-describedby="tooltip" hidden$="[[!indicatorVisible]]"
21 icon="[[indicatorIcon]]"></iron-icon>
22 <paper-tooltip id="tooltip" for="indicator" position="top"
23 fit-to-visible-bounds>
24 [[indicatorTooltip]]
25 </paper-tooltip>
26 </template>
27 <script src="cr_policy_indicator.js"></script>
28 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698