| 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 16 matching lines...) Expand all Loading... |
| 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 ['videoMemory', 'videoMemoryColumn', 80, false], |
| 34 ['sqliteMemoryUsed', 'sqliteMemoryUsedColumn', 80, false], | 34 ['sqliteMemoryUsed', 'sqliteMemoryUsedColumn', 80, false], |
| 35 ['goatsTeleported', 'goatsTeleportedColumn', 80, false], | 35 ['goatsTeleported', 'goatsTeleportedColumn', 80, false], |
| 36 ['v8MemoryAllocatedSize', 'javascriptMemoryAllocatedColumn', 120, false], | 36 ['v8MemoryAllocatedSize', 'javascriptMemoryAllocatedColumn', 120, false], |
| 37 ['naclDebugStubPort', 'naclDebugStubPortColumn', 50, false], |
| 37 ]; | 38 ]; |
| 38 | 39 |
| 39 /* | 40 /* |
| 40 * Height of each tasks. It is 20px, which is also defined in CSS. | 41 * Height of each tasks. It is 20px, which is also defined in CSS. |
| 41 * @const | 42 * @const |
| 42 */ | 43 */ |
| 43 var HEIGHT_OF_TASK = 20; | 44 var HEIGHT_OF_TASK = 20; |
| 44 | 45 |
| 45 var COMMAND_CONTEXTMENU_COLUMN_PREFIX = 'columnContextMenu'; | 46 var COMMAND_CONTEXTMENU_COLUMN_PREFIX = 'columnContextMenu'; |
| 46 var COMMAND_CONTEXTMENU_TABLE_PREFIX = 'tableContextMenu'; | 47 var COMMAND_CONTEXTMENU_TABLE_PREFIX = 'tableContextMenu'; |
| 47 | 48 |
| 48 var ENABLED_COLUMNS_KEY = 'enabledColumns'; | 49 var ENABLED_COLUMNS_KEY = 'enabledColumns'; |
| 49 | 50 |
| 50 var DEFAULT_SORT_COLUMN = 'cpuUsage'; | 51 var DEFAULT_SORT_COLUMN = 'cpuUsage'; |
| 51 var DEFAULT_SORT_DIRECTION = 'desc'; | 52 var DEFAULT_SORT_DIRECTION = 'desc'; |
| OLD | NEW |