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 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * @fileoverview This implements a common button control, bound to command. | 8 * @fileoverview This implements a common button control, bound to command. |
9 */ | 9 */ |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 */ | 144 */ |
145 cr.defineProperty(CommandButton, 'disabled', | 145 cr.defineProperty(CommandButton, 'disabled', |
146 cr.PropertyKind.BOOL_ATTR); | 146 cr.PropertyKind.BOOL_ATTR); |
147 | 147 |
148 /** | 148 /** |
149 * Whether the button is hidden or not. | 149 * Whether the button is hidden or not. |
150 * @type {boolean} | 150 * @type {boolean} |
151 */ | 151 */ |
152 cr.defineProperty(CommandButton, 'hidden', | 152 cr.defineProperty(CommandButton, 'hidden', |
153 cr.PropertyKind.BOOL_ATTR); | 153 cr.PropertyKind.BOOL_ATTR); |
OLD | NEW |