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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/module.json

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fixes Created 3 years, 11 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
Index: third_party/WebKit/Source/devtools/front_end/profiler/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/module.json b/third_party/WebKit/Source/devtools/front_end/profiler/module.json
index 81a4beea5216b97d255843f76873ce18f9689cc7..4565446ab2fba240793b2a0a37cdac66257307b7 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/module.json
@@ -1,98 +1,102 @@
{
- "extensions": [
+ "extensions": [
+ {
+ "type": "view",
+ "location": "panel",
+ "id": "profiles",
+ "title": "Profiles",
+ "order": 60,
+ "className": "Profiler.ProfilesPanel",
+ "condition": "v8only"
+ },
+ {
+ "type": "view",
+ "location": "panel",
+ "id": "profiles",
+ "title": "Memory",
+ "order": 60,
+ "className": "Profiler.ProfilesPanel",
+ "condition": "!v8only"
+ },
+ {
+ "type": "@UI.ContextMenu.Provider",
+ "contextTypes": [
+ "SDK.RemoteObject"
+ ],
+ "className": "Profiler.ProfilesPanel.ContextMenuProvider"
+ },
+ {
+ "type": "setting",
+ "category": "Profiler",
+ "title": "Record heap allocation stack traces",
+ "settingName": "recordAllocationStacks",
+ "settingType": "boolean",
+ "defaultValue": false
+ },
+ {
+ "type": "setting",
+ "category": "Profiler",
+ "title": "High resolution CPU profiling",
+ "settingName": "highResolutionCpuProfiling",
+ "settingType": "boolean",
+ "defaultValue": true
+ },
+ {
+ "type": "setting",
+ "category": "Profiler",
+ "title": "Show native functions in JS Profile",
+ "settingName": "showNativeFunctionsInJSProfile",
+ "settingType": "boolean",
+ "defaultValue": true
+ },
+ {
+ "type": "@UI.ActionDelegate",
+ "actionId": "profiler.toggle-recording",
+ "iconClass": "largeicon-start-recording",
+ "toggledIconClass": "largeicon-stop-recording",
+ "toggleWithRedColor": true,
+ "contextTypes": [
+ "Profiler.ProfilesPanel"
+ ],
+ "className": "Profiler.ProfilesPanel.RecordActionDelegate",
+ "bindings": [
{
- "type": "view",
- "location": "panel",
- "id": "profiles",
- "title": "Profiles",
- "order": 60,
- "className": "Profiler.ProfilesPanel",
- "condition": "v8only"
+ "platform": "windows,linux",
+ "shortcut": "Ctrl+E"
},
{
- "type": "view",
- "location": "panel",
- "id": "profiles",
- "title": "Memory",
- "order": 60,
- "className": "Profiler.ProfilesPanel",
- "condition": "!v8only"
- },
- {
- "type": "@UI.ContextMenu.Provider",
- "contextTypes": ["SDK.RemoteObject"],
- "className": "Profiler.ProfilesPanel.ContextMenuProvider"
- },
- {
- "type": "setting",
- "category": "Profiler",
- "title": "Record heap allocation stack traces",
- "settingName": "recordAllocationStacks",
- "settingType": "boolean",
- "defaultValue": false
- },
- {
- "type": "setting",
- "category": "Profiler",
- "title": "High resolution CPU profiling",
- "settingName": "highResolutionCpuProfiling",
- "settingType": "boolean",
- "defaultValue": true
- },
- {
- "type": "setting",
- "category": "Profiler",
- "title": "Show native functions in JS Profile",
- "settingName": "showNativeFunctionsInJSProfile",
- "settingType": "boolean",
- "defaultValue": true
- },
- {
- "type": "@UI.ActionDelegate",
- "actionId": "profiler.toggle-recording",
- "iconClass": "largeicon-start-recording",
- "toggledIconClass": "largeicon-stop-recording",
- "toggleWithRedColor": true,
- "contextTypes": ["Profiler.ProfilesPanel"],
- "className": "Profiler.ProfilesPanel.RecordActionDelegate",
- "bindings": [
- {
- "platform": "windows,linux",
- "shortcut": "Ctrl+E"
- },
- {
- "platform": "mac",
- "shortcut": "Meta+E"
- }
- ]
+ "platform": "mac",
+ "shortcut": "Meta+E"
}
- ],
- "dependencies": [
- "components",
- "components_lazy",
- "ui_lazy"
- ],
- "scripts": [
- "ProfilesPanel.js",
- "ProfileView.js",
- "ProfileDataGrid.js",
- "BottomUpProfileDataGrid.js",
- "TopDownProfileDataGrid.js",
- "CPUProfileFlameChart.js",
- "CPUProfileView.js",
- "HeapProfileView.js",
- "HeapSnapshotCommon.js",
- "HeapSnapshotProxy.js",
- "HeapSnapshotDataGrids.js",
- "HeapSnapshotGridNodes.js",
- "HeapSnapshotView.js",
- "ProfileLauncherView.js",
- "ProfileTypeRegistry.js",
- "TargetsComboBoxController.js"
- ],
- "resources": [
- "heapProfiler.css",
- "profilesPanel.css",
- "profilesSidebarTree.css"
- ]
-}
+ ]
+ }
+ ],
+ "dependencies": [
+ "components",
+ "perf_ui",
+ "data_grid"
+ ],
+ "scripts": [
+ "ProfilesPanel.js",
+ "ProfileView.js",
+ "ProfileDataGrid.js",
+ "BottomUpProfileDataGrid.js",
+ "TopDownProfileDataGrid.js",
+ "CPUProfileFlameChart.js",
+ "CPUProfileView.js",
+ "HeapProfileView.js",
+ "HeapSnapshotCommon.js",
+ "HeapSnapshotProxy.js",
+ "HeapSnapshotDataGrids.js",
+ "HeapSnapshotGridNodes.js",
+ "HeapSnapshotView.js",
+ "ProfileLauncherView.js",
+ "ProfileTypeRegistry.js",
+ "TargetsComboBoxController.js"
+ ],
+ "resources": [
+ "heapProfiler.css",
+ "profilesPanel.css",
+ "profilesSidebarTree.css"
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698