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

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: Feedback Created 5 years, 3 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..8544a74fec05323630fa6aef5f2d31a679628ac7
--- /dev/null
+++ b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html
@@ -0,0 +1,17 @@
+<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$="[[!isIndicatorVisible_(indicatorType)]]"
+ icon="[[getIcon_(indicatorType)]]">
+ </iron-icon>
+ </div>
+ </template>
+ <script src="cr_policy_indicator.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698