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

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

Issue 8391039: TaskManager: introduce Resource::(Can)Inspect; support tabs, apps, extensions and notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self-review. Created 9 years, 2 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
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 94c7a18cf1c01732422ad05e44f1b9a7a1018e70..29586d830811a8681600d79ab1a1fcdf01db336e 100644
--- a/chrome/browser/resources/task_manager/main.js
+++ b/chrome/browser/resources/task_manager/main.js
@@ -53,7 +53,7 @@ TaskManager.prototype = {
},
/**
- * Sends commands to kill a process.
+ * Sends commands to initiate resource inspection.
yurys 2011/10/26 14:33:44 This is comment for the inspect method.
* @public
*/
killProcess: function () {
@@ -62,6 +62,14 @@ TaskManager.prototype = {
},
/**
+ * Sends commands to kill a process.
yurys 2011/10/26 14:33:44 Move to killProcess comments?
+ * @public
+ */
+ inspect: function (resourceIndex) {
+ chrome.send('inspect', [resourceIndex]);
+ },
+
+ /**
* Sends command to kill a process.
* @public
*/
« no previous file with comments | « no previous file | chrome/browser/task_manager/task_manager.h » ('j') | chrome/browser/ui/webui/task_manager_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698