OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
3 { | 3 { |
4 "type": "view", | 4 "type": "view", |
5 "location": "panel", | 5 "location": "panel", |
6 "id": "profiles", | 6 "id": "profiles", |
7 "title": "Profiles", | 7 "title": "Profiles", |
8 "order": 60, | 8 "order": 60, |
9 "className": "Profiler.ProfilesPanel", | 9 "className": "Profiler.ProfilesPanel", |
10 "condition": "v8only" | 10 "condition": "v8only" |
11 }, | 11 }, |
12 { | 12 { |
13 "type": "view", | 13 "type": "view", |
14 "location": "panel", | 14 "location": "panel", |
15 "id": "profiles", | 15 "id": "profiles", |
16 "title": "Memory", | 16 "title": "Memory", |
17 "order": 60, | 17 "order": 60, |
18 "className": "Profiler.ProfilesPanel", | 18 "className": "Profiler.ProfilesPanel", |
19 "condition": "!v8only" | 19 "condition": "!v8only" |
20 }, | 20 }, |
21 { | 21 { |
22 "type": "@UI.ContextMenu.Provider", | 22 "type": "@UI.ContextMenu.Provider", |
23 "contextTypes": ["SDK.RemoteObject"], | 23 "contextTypes": [ |
| 24 "SDK.RemoteObject" |
| 25 ], |
24 "className": "Profiler.ProfilesPanel.ContextMenuProvider" | 26 "className": "Profiler.ProfilesPanel.ContextMenuProvider" |
25 }, | 27 }, |
26 { | 28 { |
27 "type": "setting", | 29 "type": "setting", |
28 "category": "Profiler", | 30 "category": "Profiler", |
29 "title": "Record heap allocation stack traces", | 31 "title": "Record heap allocation stack traces", |
30 "settingName": "recordAllocationStacks", | 32 "settingName": "recordAllocationStacks", |
31 "settingType": "boolean", | 33 "settingType": "boolean", |
32 "defaultValue": false | 34 "defaultValue": false |
33 }, | 35 }, |
(...skipping 12 matching lines...) Expand all Loading... |
46 "settingName": "showNativeFunctionsInJSProfile", | 48 "settingName": "showNativeFunctionsInJSProfile", |
47 "settingType": "boolean", | 49 "settingType": "boolean", |
48 "defaultValue": true | 50 "defaultValue": true |
49 }, | 51 }, |
50 { | 52 { |
51 "type": "@UI.ActionDelegate", | 53 "type": "@UI.ActionDelegate", |
52 "actionId": "profiler.toggle-recording", | 54 "actionId": "profiler.toggle-recording", |
53 "iconClass": "largeicon-start-recording", | 55 "iconClass": "largeicon-start-recording", |
54 "toggledIconClass": "largeicon-stop-recording", | 56 "toggledIconClass": "largeicon-stop-recording", |
55 "toggleWithRedColor": true, | 57 "toggleWithRedColor": true, |
56 "contextTypes": ["Profiler.ProfilesPanel"], | 58 "contextTypes": [ |
| 59 "Profiler.ProfilesPanel" |
| 60 ], |
57 "className": "Profiler.ProfilesPanel.RecordActionDelegate", | 61 "className": "Profiler.ProfilesPanel.RecordActionDelegate", |
58 "bindings": [ | 62 "bindings": [ |
59 { | 63 { |
60 "platform": "windows,linux", | 64 "platform": "windows,linux", |
61 "shortcut": "Ctrl+E" | 65 "shortcut": "Ctrl+E" |
62 }, | 66 }, |
63 { | 67 { |
64 "platform": "mac", | 68 "platform": "mac", |
65 "shortcut": "Meta+E" | 69 "shortcut": "Meta+E" |
66 } | 70 } |
67 ] | 71 ] |
68 } | 72 } |
69 ], | 73 ], |
70 "dependencies": [ | 74 "dependencies": [ |
71 "components", | 75 "components", |
72 "components_lazy", | 76 "components_lazy", |
73 "ui_lazy" | 77 "ui_lazy", |
| 78 "perf_ui" |
74 ], | 79 ], |
75 "scripts": [ | 80 "scripts": [ |
76 "ProfilesPanel.js", | 81 "ProfilesPanel.js", |
77 "ProfileView.js", | 82 "ProfileView.js", |
78 "ProfileDataGrid.js", | 83 "ProfileDataGrid.js", |
79 "BottomUpProfileDataGrid.js", | 84 "BottomUpProfileDataGrid.js", |
80 "TopDownProfileDataGrid.js", | 85 "TopDownProfileDataGrid.js", |
81 "CPUProfileFlameChart.js", | 86 "CPUProfileFlameChart.js", |
82 "CPUProfileView.js", | 87 "CPUProfileView.js", |
83 "HeapProfileView.js", | 88 "HeapProfileView.js", |
84 "HeapSnapshotCommon.js", | 89 "HeapSnapshotCommon.js", |
85 "HeapSnapshotProxy.js", | 90 "HeapSnapshotProxy.js", |
86 "HeapSnapshotDataGrids.js", | 91 "HeapSnapshotDataGrids.js", |
87 "HeapSnapshotGridNodes.js", | 92 "HeapSnapshotGridNodes.js", |
88 "HeapSnapshotView.js", | 93 "HeapSnapshotView.js", |
89 "ProfileLauncherView.js", | 94 "ProfileLauncherView.js", |
90 "ProfileTypeRegistry.js", | 95 "ProfileTypeRegistry.js", |
91 "TargetsComboBoxController.js" | 96 "TargetsComboBoxController.js" |
92 ], | 97 ], |
93 "resources": [ | 98 "resources": [ |
94 "heapProfiler.css", | 99 "heapProfiler.css", |
95 "profilesPanel.css", | 100 "profilesPanel.css", |
96 "profilesSidebarTree.css" | 101 "profilesSidebarTree.css" |
97 ] | 102 ] |
98 } | 103 } |
OLD | NEW |