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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/module.json

Issue 2184683003: DevTools: Route timeline context menu save/load actions through module extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "extensions": [ 2 "extensions": [
3 { 3 {
4 "type": "@WebInspector.PanelFactory", 4 "type": "@WebInspector.PanelFactory",
5 "name": "timeline", 5 "name": "timeline",
6 "title": "Timeline", 6 "title": "Timeline",
7 "order": 50, 7 "order": 50,
8 "className": "WebInspector.TimelinePanelFactory" 8 "className": "WebInspector.TimelinePanelFactory"
9 }, 9 },
10 { 10 {
11 "type": "setting", 11 "type": "setting",
12 "category": "Profiler", 12 "category": "Profiler",
13 "title": "Hide chrome frame in Layers view", 13 "title": "Hide chrome frame in Layers view",
14 "settingName": "frameViewerHideChromeWindow", 14 "settingName": "frameViewerHideChromeWindow",
15 "settingType": "boolean", 15 "settingType": "boolean",
16 "defaultValue": false 16 "defaultValue": false
17 }, 17 },
18 { 18 {
19 "type": "@WebInspector.QueryParamHandler", 19 "type": "@WebInspector.QueryParamHandler",
20 "name": "loadTimelineFromURL", 20 "name": "loadTimelineFromURL",
21 "className": "WebInspector.LoadTimelineHandler" 21 "className": "WebInspector.LoadTimelineHandler"
22 }, 22 },
23 { 23 {
24 "type": "context-menu-item",
25 "location": "timelineMenu/open",
26 "actionId": "timeline.load-from-file"
27 },
28 {
29 "type": "context-menu-item",
30 "location": "timelineMenu/open",
31 "actionId": "timeline.save-to-file"
32 },
33 {
24 "type": "@WebInspector.ActionDelegate", 34 "type": "@WebInspector.ActionDelegate",
25 "actionId": "timeline.toggle-recording", 35 "actionId": "timeline.toggle-recording",
26 "iconClass": "record-toolbar-item", 36 "iconClass": "record-toolbar-item",
27 "contextTypes": ["WebInspector.TimelinePanel"], 37 "contextTypes": ["WebInspector.TimelinePanel"],
28 "className": "WebInspector.TimelinePanel.ActionDelegate", 38 "className": "WebInspector.TimelinePanel.ActionDelegate",
29 "options": [ 39 "options": [
30 { "value": true, "title": "Record" }, 40 { "value": true, "title": "Record" },
31 { "value": false, "title": "Stop" } 41 { "value": false, "title": "Stop" }
32 ], 42 ],
33 "bindings": [ 43 "bindings": [
34 { 44 {
35 "platform": "windows,linux", 45 "platform": "windows,linux",
36 "shortcut": "Ctrl+E" 46 "shortcut": "Ctrl+E"
37 }, 47 },
38 { 48 {
39 "platform": "mac", 49 "platform": "mac",
40 "shortcut": "Meta+E" 50 "shortcut": "Meta+E"
41 } 51 }
42 ] 52 ]
43 }, 53 },
44 { 54 {
45 "type": "@WebInspector.ActionDelegate", 55 "type": "@WebInspector.ActionDelegate",
56 "category": "Timeline",
46 "actionId": "timeline.save-to-file", 57 "actionId": "timeline.save-to-file",
47 "contextTypes": ["WebInspector.TimelinePanel"], 58 "contextTypes": ["WebInspector.TimelinePanel"],
48 "className": "WebInspector.TimelinePanel.ActionDelegate", 59 "className": "WebInspector.TimelinePanel.ActionDelegate",
60 "title": "Save Timeline data\u2026",
49 "bindings": [ 61 "bindings": [
50 { 62 {
51 "platform": "windows,linux", 63 "platform": "windows,linux",
52 "shortcut": "Ctrl+S" 64 "shortcut": "Ctrl+S"
53 }, 65 },
54 { 66 {
55 "platform": "mac", 67 "platform": "mac",
56 "shortcut": "Meta+S" 68 "shortcut": "Meta+S"
57 } 69 }
58 ] 70 ]
59 }, 71 },
60 { 72 {
61 "type": "@WebInspector.ActionDelegate", 73 "type": "@WebInspector.ActionDelegate",
74 "category": "Timeline",
62 "actionId": "timeline.load-from-file", 75 "actionId": "timeline.load-from-file",
63 "contextTypes": ["WebInspector.TimelinePanel"], 76 "contextTypes": ["WebInspector.TimelinePanel"],
64 "order": "10", 77 "order": "10",
65 "className": "WebInspector.TimelinePanel.ActionDelegate", 78 "className": "WebInspector.TimelinePanel.ActionDelegate",
79 "title": "Load Timeline data\u2026",
66 "bindings": [ 80 "bindings": [
67 { 81 {
68 "platform": "windows,linux", 82 "platform": "windows,linux",
69 "shortcut": "Ctrl+O" 83 "shortcut": "Ctrl+O"
70 }, 84 },
71 { 85 {
72 "platform": "mac", 86 "platform": "mac",
73 "shortcut": "Meta+O" 87 "shortcut": "Meta+O"
74 } 88 }
75 ] 89 ]
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 "PaintProfilerView.js", 136 "PaintProfilerView.js",
123 "TimelinePanel.js" 137 "TimelinePanel.js"
124 ], 138 ],
125 "resources": [ 139 "resources": [
126 "invalidationsTree.css", 140 "invalidationsTree.css",
127 "timelineFlamechartPopover.css", 141 "timelineFlamechartPopover.css",
128 "timelinePanel.css", 142 "timelinePanel.css",
129 "timelineStatusDialog.css" 143 "timelineStatusDialog.css"
130 ] 144 ]
131 } 145 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698