OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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('cr.ui', function() { | 5 cr.define('cr.ui', function() { |
6 /** | 6 /** |
7 * An image button that brings up an informative bubble when activated by | 7 * An image button that brings up an informative bubble when activated by |
8 * keyboard or mouse. | 8 * keyboard or mouse. |
9 * @constructor | 9 * @constructor |
10 * @extends {HTMLSpanElement} | 10 * @extends {HTMLSpanElement} |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 * Abstract method: subclasses should overwrite it. There is no way to mark | 81 * Abstract method: subclasses should overwrite it. There is no way to mark |
82 * method as abstract for Closure Compiler, as of | 82 * method as abstract for Closure Compiler, as of |
83 * https://github.com/google/closure-compiler/issues/104. | 83 * https://github.com/google/closure-compiler/issues/104. |
84 * @type {!Function|undefined} | 84 * @type {!Function|undefined} |
85 * @protected | 85 * @protected |
86 */ | 86 */ |
87 toggleBubble: assertNotReached, | 87 toggleBubble: assertNotReached, |
88 }; | 88 }; |
89 | 89 |
90 // Export. | 90 // Export. |
91 return { | 91 return {BubbleButton: BubbleButton}; |
92 BubbleButton: BubbleButton | |
93 }; | |
94 }); | 92 }); |
OLD | NEW |