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

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

Issue 1369403006: Add cr-policy-network-indicator and add to internet settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separate policy indicator strings Created 5 years, 2 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_pref_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_pref_indicator.html
similarity index 58%
rename from ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html
rename to ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_indicator.html
index ea2ead19ea2d32cc7a5f0a1c7258503ad1be8051..ba526c973712691d58a782eefc0887b7d4eb265f 100644
--- a/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html
+++ b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_indicator.html
@@ -2,17 +2,19 @@
<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">
+<link rel="import" href="cr_policy_indicator_behavior.html">
+<link rel="import" href="cr_policy_pref_behavior.html">
-<dom-module id="cr-policy-indicator">
+<dom-module id="cr-policy-pref-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)]]"
- title$="[[getTooltipText_(indicatorType, pref, controllingUser)]]">
+ hidden$="[[!isIndicatorVisible(indicatorType)]]"
+ icon="[[getIcon(indicatorType)]]"
+ title$="[[getTooltip_(indicatorType, pref, controllingUser)]]">
</iron-icon>
</div>
</template>
- <script src="cr_policy_indicator.js"></script>
+ <script src="cr_policy_pref_indicator.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698