OLD | NEW |
1 // Copyright (c) 2012 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 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |