Index: ui/webui/resources/js/cr/ui/context_menu_handler.js |
diff --git a/ui/webui/resources/js/cr/ui/context_menu_handler.js b/ui/webui/resources/js/cr/ui/context_menu_handler.js |
index 2266801fe5d872ef0661996047e93c7d6e90771e..8e0ccff863e8b309cdb9e70ba2d51671a579096d 100644 |
--- a/ui/webui/resources/js/cr/ui/context_menu_handler.js |
+++ b/ui/webui/resources/js/cr/ui/context_menu_handler.js |
@@ -14,7 +14,9 @@ cr.define('cr.ui', function() { |
* @extends {cr.EventTarget} |
* @implements {EventListener} |
*/ |
- function ContextMenuHandler() { this.showingEvents_ = new EventTracker(); } |
+ function ContextMenuHandler() { |
+ this.showingEvents_ = new EventTracker(); |
+ } |
ContextMenuHandler.prototype = { |
__proto__: EventTarget.prototype, |
@@ -23,7 +25,10 @@ cr.define('cr.ui', function() { |
* The menu that we are currently showing. |
* @type {cr.ui.Menu} |
*/ |
- menu_: null, get menu() { return this.menu_; }, |
+ menu_: null, |
+ get menu() { |
+ return this.menu_; |
+ }, |
/** |
* Shows a menu as a context menu. |
@@ -217,8 +222,9 @@ cr.define('cr.ui', function() { |
elementOrClass.prototype : |
elementOrClass; |
- target.__defineGetter__( |
- 'contextMenu', function() { return this.contextMenu_; }); |
+ target.__defineGetter__('contextMenu', function() { |
+ return this.contextMenu_; |
+ }); |
target.__defineSetter__('contextMenu', function(menu) { |
var oldContextMenu = this.contextMenu; |