| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 cr.define('options', function() { | 5 cr.define('options', function() { |
| 6 var Preferences = options.Preferences; | 6 var Preferences = options.Preferences; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * A controlled setting indicator that can be placed on a setting as an | 9 * A controlled setting indicator that can be placed on a setting as an |
| 10 * indicator that the value is controlled by some external entity such as | 10 * indicator that the value is controlled by some external entity such as |
| 11 * policy or an extension. | 11 * policy or an extension. |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 /** | 126 /** |
| 127 * The controlling entity of the setting. Can take the values "policy", | 127 * The controlling entity of the setting. Can take the values "policy", |
| 128 * "extension", "recommended" or be unset. | 128 * "extension", "recommended" or be unset. |
| 129 */ | 129 */ |
| 130 cr.defineProperty(ControlledSettingIndicator, 'controlledBy', | 130 cr.defineProperty(ControlledSettingIndicator, 'controlledBy', |
| 131 cr.PropertyKind.ATTR, | 131 cr.PropertyKind.ATTR, |
| 132 ControlledSettingIndicator.prototype.close); | 132 ControlledSettingIndicator.prototype.close); |
| 133 | 133 |
| 134 // Export. | 134 // Export. |
| 135 return { | 135 return { |
| 136 ControlledSettingIndicator : ControlledSettingIndicator | 136 ControlledSettingIndicator: ControlledSettingIndicator |
| 137 }; | 137 }; |
| 138 }); | 138 }); |
| OLD | NEW |