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

Unified Diff: chrome/browser/resources/task_manager/main.js

Issue 8510045: TaskManager: Fix for showing column selection menu on right click on the task manager list. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/task_manager/main.js
diff --git a/chrome/browser/resources/task_manager/main.js b/chrome/browser/resources/task_manager/main.js
index d2089b31e2695aa7a2a42ca921748db06dfda0b9..94c1cbe8aff596fb055ee54e62f1d12edfd5508e 100644
--- a/chrome/browser/resources/task_manager/main.js
+++ b/chrome/browser/resources/task_manager/main.js
@@ -265,6 +265,9 @@ TaskManager.prototype = {
cr.ui.contextMenuHandler.addContextMenuProperty(this.table_.header);
this.table_.header.contextMenu = this.columnSelectContextMenu_;
+ cr.ui.contextMenuHandler.addContextMenuProperty(this.table_.list);
+ this.table_.list.contextMenu = this.columnSelectContextMenu_;
+
this.document_.addEventListener('command', this.onCommand_.bind(this));
this.document_.addEventListener('canExecute',
this.onCommandCanExecute_.bind(this));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698