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

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

Issue 101013004: Delete the WebUI implementation of the task manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 6 years, 11 months 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 | « chrome/browser/resources/task_manager/OWNERS ('k') | chrome/browser/resources/task_manager/defines.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/task_manager/commands.js
diff --git a/chrome/browser/resources/task_manager/commands.js b/chrome/browser/resources/task_manager/commands.js
deleted file mode 100644
index 0c56d3a079e1720e9beaa48fcf474350a347f49e..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/task_manager/commands.js
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-TaskManagerCommands = {
- /**
- * Sends commands to kill selected processes.
- */
- killSelectedProcesses: function(uniqueIds) {
- chrome.send('killProcesses', uniqueIds);
- },
-
- /**
- * Sends command to initiate resource inspection.
- */
- inspect: function(uniqueId) {
- chrome.send('inspect', [uniqueId]);
- },
-
- /**
- * Sends command to open about memory tab.
- */
- openAboutMemory: function() {
- chrome.send('openAboutMemory');
- },
-
- /**
- * Sends command to disable taskmanager model.
- */
- disableTaskManager: function() {
- chrome.send('disableTaskManager');
- },
-
- /**
- * Sends command to enable taskmanager model.
- */
- enableTaskManager: function() {
- chrome.send('enableTaskManager');
- },
-
- /**
- * Sends command to activate a page.
- */
- activatePage: function(uniqueId) {
- chrome.send('activatePage', [uniqueId]);
- },
-
- /**
- * Sends command to enable or disable the given columns to update the data.
- */
- setUpdateColumn: function(columnId, isEnabled) {
- chrome.send('setUpdateColumn', [columnId, isEnabled]);
-
- // The 'title' column contains the icon.
- if (columnId == 'title')
- chrome.send('setUpdateColumn', ['icon', isEnabled]);
- }
-};
« no previous file with comments | « chrome/browser/resources/task_manager/OWNERS ('k') | chrome/browser/resources/task_manager/defines.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698