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

Side by Side Diff: chrome/browser/resources/settings/internet_page/internet_detail_page.js

Issue 2467123003: Settings: Internet: Update proxy controlled indicator and fields. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-internet-detail' is the settings subpage containing details 7 * 'settings-internet-detail' is the settings subpage containing details
8 * for a network. 8 * for a network.
9 */ 9 */
10 (function() { 10 (function() {
(...skipping 13 matching lines...) Expand all
24 24
25 /** 25 /**
26 * The current properties for the network matching |guid|. 26 * The current properties for the network matching |guid|.
27 * @type {!CrOnc.NetworkProperties|undefined} 27 * @type {!CrOnc.NetworkProperties|undefined}
28 */ 28 */
29 networkProperties: { 29 networkProperties: {
30 type: Object, 30 type: Object,
31 observer: 'networkPropertiesChanged_', 31 observer: 'networkPropertiesChanged_',
32 }, 32 },
33 33
34 /** Preferences state. */
35 prefs: {
36 type: Object,
37 notify: true,
38 },
39
34 /** 40 /**
35 * Highest priority connected network or null. 41 * Highest priority connected network or null.
36 * @type {?CrOnc.NetworkStateProperties} 42 * @type {?CrOnc.NetworkStateProperties}
37 */ 43 */
38 defaultNetwork: { 44 defaultNetwork: {
39 type: Object, 45 type: Object,
40 value: null, 46 value: null,
41 }, 47 },
42 48
43 /** 49 /**
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 */ 763 */
758 allPropertiesMatch_: function(curValue, newValue) { 764 allPropertiesMatch_: function(curValue, newValue) {
759 for (let key in newValue) { 765 for (let key in newValue) {
760 if (newValue[key] != curValue[key]) 766 if (newValue[key] != curValue[key])
761 return false; 767 return false;
762 } 768 }
763 return true; 769 return true;
764 } 770 }
765 }); 771 });
766 })(); 772 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698