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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list_item.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 side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/network/cr_network_list_item.html
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.html b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
index 8a03c871f00676c6e7ab9499c57c3bfedf5b1c59..96bac4fe7a3e23252c31585367e9932775c7f4e6 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item.html
+++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
@@ -4,8 +4,8 @@
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
<link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.html">
<link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.html">
+<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicator.html">
<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_indicator.html">
<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
<dom-module id="cr-network-list-item">
@@ -85,7 +85,7 @@
-webkit-margin-end: 8px;
}
- cr-policy-pref-indicator {
+ cr-policy-indicator {
padding: 0 var(--cr-icon-padding);
}
</style>
@@ -109,9 +109,9 @@
</div>
</div>
<template is="dom-if" if="[[isPolicySource(networkState.Source)]]">
- <cr-policy-pref-indicator
+ <cr-policy-indicator
indicator-type="[[getIndicatorTypeForSource(networkState.Source)]]">
- </cr-policy-pref-indicator>
+ </cr-policy-indicator>
</template>
<template is="dom-if"
if="[[isSubpageButtonVisible_(networkState, showButtons)]]">
« no previous file with comments | « chrome/test/data/webui/settings/date_time_page_tests.js ('k') | ui/webui/resources/cr_elements/policy/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698