OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * Whether task manager shows 'Private Memory' instead of 'Phsical Memory'. | 6 * Whether task manager shows 'Private Memory' instead of 'Phsical Memory'. |
7 * @const | 7 * @const |
8 */ | 8 */ |
9 var USE_PRIVATE_MEM = false; | 9 var USE_PRIVATE_MEM = false; |
10 // <if expr="(is_linux or pp_ifdef('chromeos'))"> | 10 // <if expr="(is_linux or pp_ifdef('chromeos'))"> |
(...skipping 12 matching lines...) Expand all Loading... |
23 ['physicalMemory', 'physicalMemColumn', 80, !USE_PRIVATE_MEM], | 23 ['physicalMemory', 'physicalMemColumn', 80, !USE_PRIVATE_MEM], |
24 ['sharedMemory', 'sharedMemColumn', 80, false], | 24 ['sharedMemory', 'sharedMemColumn', 80, false], |
25 ['privateMemory', 'privateMemColumn', 80, USE_PRIVATE_MEM], | 25 ['privateMemory', 'privateMemColumn', 80, USE_PRIVATE_MEM], |
26 ['cpuUsage', 'cpuColumn', 80, true], | 26 ['cpuUsage', 'cpuColumn', 80, true], |
27 ['networkUsage', 'netColumn', 85, true], | 27 ['networkUsage', 'netColumn', 85, true], |
28 ['processId', 'processIDColumn', 100, false], | 28 ['processId', 'processIDColumn', 100, false], |
29 ['webCoreImageCacheSize', 'webcoreImageCacheColumn', 120, false], | 29 ['webCoreImageCacheSize', 'webcoreImageCacheColumn', 120, false], |
30 ['webCoreScriptsCacheSize', 'webcoreScriptsCacheColumn', 120, false], | 30 ['webCoreScriptsCacheSize', 'webcoreScriptsCacheColumn', 120, false], |
31 ['webCoreCSSCacheSize', 'webcoreCSSCacheColumn', 120, false], | 31 ['webCoreCSSCacheSize', 'webcoreCSSCacheColumn', 120, false], |
32 ['fps', 'fpsColumn', 50, true], | 32 ['fps', 'fpsColumn', 50, true], |
| 33 ['videoMemory', 'videoMemoryColumn', 80, false], |
33 ['sqliteMemoryUsed', 'sqliteMemoryUsedColumn', 80, false], | 34 ['sqliteMemoryUsed', 'sqliteMemoryUsedColumn', 80, false], |
34 ['goatsTeleported', 'goatsTeleportedColumn', 80, false], | 35 ['goatsTeleported', 'goatsTeleportedColumn', 80, false], |
35 ['v8MemoryAllocatedSize', 'javascriptMemoryAllocatedColumn', 120, false], | 36 ['v8MemoryAllocatedSize', 'javascriptMemoryAllocatedColumn', 120, false], |
36 ]; | 37 ]; |
37 | 38 |
38 /* | 39 /* |
39 * Height of each tasks. It is 20px, which is also defined in CSS. | 40 * Height of each tasks. It is 20px, which is also defined in CSS. |
40 * @const | 41 * @const |
41 */ | 42 */ |
42 var HEIGHT_OF_TASK = 20; | 43 var HEIGHT_OF_TASK = 20; |
43 | 44 |
44 var COMMAND_CONTEXTMENU_COLUMN_PREFIX = 'columnContextMenu'; | 45 var COMMAND_CONTEXTMENU_COLUMN_PREFIX = 'columnContextMenu'; |
45 var COMMAND_CONTEXTMENU_TABLE_PREFIX = 'tableContextMenu'; | 46 var COMMAND_CONTEXTMENU_TABLE_PREFIX = 'tableContextMenu'; |
46 | 47 |
47 var ENABLED_COLUMNS_KEY = 'enabledColumns'; | 48 var ENABLED_COLUMNS_KEY = 'enabledColumns'; |
48 | 49 |
49 var DEFAULT_SORT_COLUMN = 'cpuUsage'; | 50 var DEFAULT_SORT_COLUMN = 'cpuUsage'; |
50 var DEFAULT_SORT_DIRECTION = 'desc'; | 51 var DEFAULT_SORT_DIRECTION = 'desc'; |
OLD | NEW |