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

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: Disable for not CrOS 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 52affb9aa67a4f577317f73266a09173e1b32180..8a03c871f00676c6e7ab9499c57c3bfedf5b1c59 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">
<dom-module id="cr-network-list-item">
@@ -85,7 +85,7 @@
-webkit-margin-end: 8px;
}
- cr-policy-network-indicator {
+ cr-policy-pref-indicator {
padding: 0 var(--cr-icon-padding);
}
</style>
@@ -109,9 +109,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