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..4fbea7d0e6d583bc45aba91230f2b3e0fad4f5e9 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} |
+ * @private |
Dan Beam
2014/09/09 02:59:09
this can't be private [1], keep @protected just re
Vitaly Pavlenko
2014/09/09 17:54:51
Done, in all files where it's used.
|
+ */ |
+ toggleBubble_: assertNotReached, |
}; |
// Export. |