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

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

Issue 1391433003: Extract policy indicator behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_521791_network_indicators_a
Patch Set: Feedback 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_pref_indicator.html b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_indicator.html
index b53d2a136c34fd3010b3979c51fc07f6e6cdeda0..56bc23d1d622e2f4cabc73c17858f61a0b536b58 100644
--- a/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_indicator.html
+++ b/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_indicator.html
@@ -2,15 +2,17 @@
<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-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="[[getPolicyIndicatorIcon(indicatorType)]]"
+ title$="[[getPolicyIndicatorTooltip(indicatorType, pref, controllingUser)]]">
</iron-icon>
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698