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

Unified Diff: chrome/browser/resources/settings/internet_page/network_proxy.html

Issue 2300783002: MD Settings: Internet: Cleanup JS (Closed)
Patch Set: Feedback Created 4 years, 3 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: chrome/browser/resources/settings/internet_page/network_proxy.html
diff --git a/chrome/browser/resources/settings/internet_page/network_proxy.html b/chrome/browser/resources/settings/internet_page/network_proxy.html
index 8ed3dcbe29329c74a9d0e003b875483e5ae58c2b..1cf3c5e61579c192963cb60f0ed37ee4ffef7f25 100644
--- a/chrome/browser/resources/settings/internet_page/network_proxy.html
+++ b/chrome/browser/resources/settings/internet_page/network_proxy.html
@@ -64,7 +64,7 @@
<!-- Autoconfiguration (PAC) -->
<div class="settings-box continuation indented"
- hidden$="[[!matches_(proxy.Type, ProxySettingsType.PAC)]]">
+ hidden$="[[!matches_(proxy.Type, ProxySettingsType_.PAC)]]">
<div class="start">$i18n{networkProxyAutoConfig}</div>
<paper-input no-label-float class="flex" value="{{proxy.PAC}}"
disabled="[[isNetworkPolicyEnforced(
@@ -75,18 +75,18 @@
<!-- Web Proxy Auto Discovery (WPAD) -->
<div class="settings-box continuation indented"
- hidden$="[[!matches_(proxy.Type, ProxySettingsType.WPAD)]]">
+ hidden$="[[!matches_(proxy.Type, ProxySettingsType_.WPAD)]]">
<div class="start">$i18n{networkSectionWpad}</div>
<div>[[WPAD]]</div>
</div>
<!-- Manual -->
<div id="proxyDiv" class="settings-box continuation single-column indented"
- hidden$="[[!matches_(proxy.Type, ProxySettingsType.MANUAL)]]">
- <paper-checkbox checked="{{useSameProxy}}">
+ hidden$="[[!matches_(proxy.Type, ProxySettingsType_.MANUAL)]]">
+ <paper-checkbox checked="{{useSameProxy_}}">
$i18n{networkProxyUseSame}
</paper-checkbox>
- <div hidden$="[[!useSameProxy]]" class="layout vertical">
+ <div hidden$="[[!useSameProxy_]]" class="layout vertical">
<network-proxy-input
on-proxy-change="onProxyInputChange_"
editable="[[isPropertyEditable_(editable, networkProperties,
@@ -95,7 +95,7 @@
label="$i18n{networkProxy}">
</network-proxy-input>
</div>
- <div hidden$="[[useSameProxy]]" class="layout vertical">
+ <div hidden$="[[useSameProxy_]]" class="layout vertical">
<network-proxy-input
on-proxy-change="onProxyInputChange_"
editable="[[isPropertyEditable_(editable, networkProperties,

Powered by Google App Engine
This is Rietveld 408576698