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

Side by Side Diff: chrome/browser/resources/task_manager/defines.js

Issue 9958109: TaskManager: Replace the string "Page" with "Task" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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'))">
11 // On Linux and ChromeOS, this is true because calculating Phsical Memory is 11 // On Linux and ChromeOS, this is true because calculating Phsical Memory is
12 // slow. 12 // slow.
13 USE_PRIVATE_MEM = true; 13 USE_PRIVATE_MEM = true;
14 // </if> 14 // </if>
15 15
16 /* 16 /*
17 * Default columns (column_id, label_id, width, is_default) 17 * Default columns (column_id, label_id, width, is_default)
18 * @const 18 * @const
19 */ 19 */
20 var DEFAULT_COLUMNS = [ 20 var DEFAULT_COLUMNS = [
21 ['title', 'pageColumn', 300, true], 21 ['title', 'taskColumn', 300, true],
22 ['profileName', 'profileNameColumn', 120, false], 22 ['profileName', 'profileNameColumn', 120, false],
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 ['sqliteMemoryUsed', 'sqliteMemoryUsedColumn', 80, false], 33 ['sqliteMemoryUsed', 'sqliteMemoryUsedColumn', 80, false],
34 ['goatsTeleported', 'goatsTeleportedColumn', 80, false], 34 ['goatsTeleported', 'goatsTeleportedColumn', 80, false],
35 ['v8MemoryAllocatedSize', 'javascriptMemoryAllocatedColumn', 120, false], 35 ['v8MemoryAllocatedSize', 'javascriptMemoryAllocatedColumn', 120, false],
36 ]; 36 ];
37 37
38 /* 38 /*
39 * Height of each tasks. It is 20px, which is also defined in CSS. 39 * Height of each tasks. It is 20px, which is also defined in CSS.
40 * @const 40 * @const
41 */ 41 */
42 var HEIGHT_OF_TASK = 20; 42 var HEIGHT_OF_TASK = 20;
43 43
44 var COMMAND_CONTEXTMENU_COLUMN_PREFIX = 'columnContextMenu'; 44 var COMMAND_CONTEXTMENU_COLUMN_PREFIX = 'columnContextMenu';
45 var COMMAND_CONTEXTMENU_TABLE_PREFIX = 'tableContextMenu'; 45 var COMMAND_CONTEXTMENU_TABLE_PREFIX = 'tableContextMenu';
46 46
47 var ENABLED_COLUMNS_KEY = 'enabledColumns'; 47 var ENABLED_COLUMNS_KEY = 'enabledColumns';
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698