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

Side by Side Diff: ui/file_manager/file_manager/foreground/js/commandbutton.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 months 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 (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
11 /** 11 /**
12 * Creates a new button element. 12 * Creates a new button element.
13 * @param {Object=} opt_propertyBag Optional properties. 13 * @param {Object=} opt_propertyBag Optional properties.
14 * @constructor 14 * @constructor
15 * @extends {HTMLDivElement} 15 * @extends {HTMLDivElement}
16 */ 16 */
17 var CommandButton = cr.ui.define('button'); 17 var CommandButton = cr.ui.define('button');
18 18
19 /** @override */ 19 /** @override */
20 CommandButton.prototype.__proto__ = HTMLButtonElement.prototype; 20 CommandButton.prototype.__proto__ = HTMLButtonElement.prototype;
21 21
22 /** 22 /**
23 * Associated command. 23 * Associated command.
24 * @type {Command} 24 * @type {Command}
25 * @private 25 * @private
26 */ 26 */
27 CommandButton.prototype.command_ = null; 27 CommandButton.prototype.command_ = null;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 */ 127 */
128 cr.defineProperty(CommandButton, 'disabled', 128 cr.defineProperty(CommandButton, 'disabled',
129 cr.PropertyKind.BOOL_ATTR); 129 cr.PropertyKind.BOOL_ATTR);
130 130
131 /** 131 /**
132 * Whether the button is hidden or not. 132 * Whether the button is hidden or not.
133 * @type {boolean} 133 * @type {boolean}
134 */ 134 */
135 cr.defineProperty(CommandButton, 'hidden', 135 cr.defineProperty(CommandButton, 'hidden',
136 cr.PropertyKind.BOOL_ATTR); 136 cr.PropertyKind.BOOL_ATTR);
OLDNEW
« no previous file with comments | « ui/file_manager/file_manager/common/js/util.js ('k') | ui/file_manager/file_manager/foreground/js/directory_contents.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698