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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list_item.html

Issue 2625213002: WebUI: Add cr_policy_network_indicator_tests.js (Closed)
Patch Set: Rebase Created 3 years, 11 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 44c563db9ae52eaf8c3c03c8e1996eaf16bd7176..a4766b6a916001419ebc8463297d1e66207b3f58 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
@@ -5,7 +5,7 @@
<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_network_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator.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">
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
@@ -77,7 +77,7 @@
-webkit-padding-end: 8px;
}
- cr-policy-network-indicator {
+ cr-policy-pref-indicator {
padding: 0 var(--cr-icon-padding);
}
</style>
@@ -102,9 +102,9 @@
</div>
</div>
<template is="dom-if" if="[[isPolicySource(networkState.Source)]]">
- <cr-policy-network-indicator
+ <cr-policy-pref-indicator
indicator-type="[[getIndicatorTypeForSource(networkState.Source)]]">
- </cr-policy-network-indicator>
+ </cr-policy-pref-indicator>
</template>
<template is="dom-if"
if="[[isSubpageButtonVisible_(networkState, showButtons)]]">

Powered by Google App Engine
This is Rietveld 408576698