Chromium Code Reviews| Index: ui/webui/resources/js/cr/ui/bubble_button.js |
| diff --git a/ui/webui/resources/js/cr/ui/bubble_button.js b/ui/webui/resources/js/cr/ui/bubble_button.js |
| index 7216a2d4180b32e434a2e65d2aafec4875084eb6..4d2c2e66e4b360b817dd48f1914f6a50f6367c00 100644 |
| --- a/ui/webui/resources/js/cr/ui/bubble_button.js |
| +++ b/ui/webui/resources/js/cr/ui/bubble_button.js |
| @@ -8,6 +8,7 @@ cr.define('cr.ui', function() { |
| * keyboard or mouse. |
| * @constructor |
| * @extends {HTMLSpanElement} |
| + * @implements {EventListener} |
| */ |
| var BubbleButton = cr.ui.define('span'); |
| @@ -75,6 +76,15 @@ cr.define('cr.ui', function() { |
| event.preventDefault(); |
| event.stopPropagation(); |
| }, |
| + |
| + /** |
| + * Abstract method: subclasses should overwrite it. There is no way to mark |
| + * method as abstract for Closure Compiler, as of |
| + * https://github.com/google/closure-compiler/issues/104. |
| + * @type {!Function|undefined} |
| + * @protected |
| + */ |
| + toggleBubble_: undefined |
|
Dan Beam
2014/09/06 02:22:39
nit: ,
Dan Beam
2014/09/06 02:22:39
nit: maybe instead:
toggleBubble: assertNotReac
Dan Beam
2014/09/06 02:22:39
@protected methods aren't suffixed with _, only @p
Vitaly Pavlenko
2014/09/06 22:54:09
Done.
Vitaly Pavlenko
2014/09/06 22:54:09
Done.
Vitaly Pavlenko
2014/09/06 22:54:09
Done.
|
| }; |
| // Export. |