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

Unified Diff: ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html

Issue 1310373008: Add cr_policy_indicator for settings controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_settings_compiled_resources_3
Patch Set: Elim unused tyep Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html
diff --git a/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html
new file mode 100644
index 0000000000000000000000000000000000000000..47824aeace2d0b54391a2a5e7313da2f39143b4b
--- /dev/null
+++ b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html
@@ -0,0 +1,15 @@
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/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/iron-icons/iron-icons.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/social-icons.html">
+
+<dom-module id="cr-policy-indicator">
+ <link rel="import" type="css" href="cr_policy_indicator.css">
+ <template>
+ <div class="layout horizontal">
+ <iron-icon id="indicator" hidden$="[[!showIndicator_(indicatorType)]]"
+ icon="[[getIcon_(indicatorType)]]"/>
Dan Beam 2015/08/28 00:20:22 I think you need a full </iron-icon> instead of <i
stevenjb 2015/08/28 23:18:08 Done.
+ </div>
+ </template>
+ <script src="cr_policy_indicator.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698