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

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

Issue 9956170: WebUI TaskManager: Sort by CPU Usage on open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the last CRLF. Created 8 years, 8 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/defines.js ('k') | 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 986d0848bfc9d1872875477a44b150be0b6015bd..461b74a927ddb36997a0e6f7c86869e42e8038b8 100644
--- a/chrome/browser/resources/task_manager/main.js
+++ b/chrome/browser/resources/task_manager/main.js
@@ -143,6 +143,9 @@ TaskManager.prototype = {
dm.setCompareFunction(columnId, compareFunc);
}
+ if (isColumnEnabled(DEFAULT_SORT_COLUMN))
+ dm.sort(DEFAULT_SORT_COLUMN, DEFAULT_SORT_DIRECTION);
+
this.initTable_();
commands.enableTaskManager();
« no previous file with comments | « chrome/browser/resources/task_manager/defines.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698