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

Unified 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, 5 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/timeline/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/module.json b/third_party/WebKit/Source/devtools/front_end/timeline/module.json
index 45397d0f90dc7d9acf3fd364944936a237e464bb..2e124b0c24c35ae8038c7e0fe8b2a2712251b6bc 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/module.json
@@ -21,6 +21,16 @@
"className": "WebInspector.LoadTimelineHandler"
},
{
+ "type": "context-menu-item",
+ "location": "timelineMenu/open",
+ "actionId": "timeline.load-from-file"
+ },
+ {
+ "type": "context-menu-item",
+ "location": "timelineMenu/open",
+ "actionId": "timeline.save-to-file"
+ },
+ {
"type": "@WebInspector.ActionDelegate",
"actionId": "timeline.toggle-recording",
"iconClass": "record-toolbar-item",
@@ -43,9 +53,11 @@
},
{
"type": "@WebInspector.ActionDelegate",
+ "category": "Timeline",
"actionId": "timeline.save-to-file",
"contextTypes": ["WebInspector.TimelinePanel"],
"className": "WebInspector.TimelinePanel.ActionDelegate",
+ "title": "Save Timeline data\u2026",
"bindings": [
{
"platform": "windows,linux",
@@ -59,10 +71,12 @@
},
{
"type": "@WebInspector.ActionDelegate",
+ "category": "Timeline",
"actionId": "timeline.load-from-file",
"contextTypes": ["WebInspector.TimelinePanel"],
"order": "10",
"className": "WebInspector.TimelinePanel.ActionDelegate",
+ "title": "Load Timeline data\u2026",
"bindings": [
{
"platform": "windows,linux",
« 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