| Index: chrome/browser/resources/settings/controls/settings_radio_group.js
|
| diff --git a/chrome/browser/resources/settings/controls/settings_radio_group.js b/chrome/browser/resources/settings/controls/settings_radio_group.js
|
| index 389ebcd4fa1776ceaab9946dfeeb9e961918ff14..f0bedec092bfa7c54fb40091c3a26c664cba75d6 100644
|
| --- a/chrome/browser/resources/settings/controls/settings_radio_group.js
|
| +++ b/chrome/browser/resources/settings/controls/settings_radio_group.js
|
| @@ -15,15 +15,9 @@
|
| Polymer({
|
| is: 'settings-radio-group',
|
|
|
| - behaviors: [CrPolicyPrefBehavior, PrefControlBehavior],
|
| + behaviors: [PrefControlBehavior],
|
|
|
| properties: {
|
| - disabled_: {
|
| - observer: 'disabledChanged_',
|
| - type: Boolean,
|
| - value: false,
|
| - },
|
| -
|
| /**
|
| * IronSelectableBehavior selected attribute.
|
| */
|
| @@ -41,19 +35,10 @@ Polymer({
|
| /** @private */
|
| prefChanged_: function() {
|
| var pref = /** @type {!chrome.settingsPrivate.PrefObject} */(this.pref);
|
| - this.disabled_ = this.isPrefPolicyControlled(pref);
|
| this.selected = Settings.PrefUtil.prefToString(pref);
|
| },
|
|
|
| /** @private */
|
| - disabledChanged_: function() {
|
| - var radioButtons = this.queryAllEffectiveChildren('paper-radio-button');
|
| - for (var i = 0; i < radioButtons.length; ++i) {
|
| - radioButtons[i].disabled = this.disabled_;
|
| - }
|
| - },
|
| -
|
| - /** @private */
|
| selectedChanged_: function(selected) {
|
| if (!this.pref)
|
| return;
|
|
|