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

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

Issue 2205123003: DevTools: introduce view locations, allow opening views by id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sources/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/module.json b/third_party/WebKit/Source/devtools/front_end/sources/module.json
index 6980eb662a6d8621b936348eeb34ee65f7b6aa59..ec5299f0d0d12634c792d96476af5ed192dece18 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/sources/module.json
@@ -186,7 +186,7 @@
{
"type": "view",
"location": "navigator-view",
- "name": "sources",
+ "id": "sources",
"title": "Sources",
"order": 1,
"persistence": "permanent",
@@ -195,7 +195,7 @@
{
"type": "view",
"location": "navigator-view",
- "name": "contentScripts",
+ "id": "contentScripts",
"title": "Content scripts",
"order": 2,
"persistence": "permanent",
@@ -204,13 +204,28 @@
{
"type": "view",
"location": "navigator-view",
- "name": "snippets",
+ "id": "snippets",
"title": "Snippets",
"order": 3,
"persistence": "permanent",
"className": "WebInspector.SnippetsNavigatorView"
},
{
+ "type": "@WebInspector.NavigatorView",
+ "viewId": "sources",
+ "className": "WebInspector.SourcesNavigatorView"
+ },
+ {
+ "type": "@WebInspector.NavigatorView",
+ "viewId": "contentScripts",
+ "className": "WebInspector.ContentScriptsNavigatorView"
+ },
+ {
+ "type": "@WebInspector.NavigatorView",
+ "viewId": "snippets",
+ "className": "WebInspector.SnippetsNavigatorView"
+ },
+ {
"type": "@WebInspector.ActionDelegate",
"actionId": "sources.go-to-source",
"title": "Go to file...",
@@ -316,7 +331,7 @@
{
"type": "view",
"location": "drawer-view",
- "name": "sources.search",
+ "id": "sources.search",
"title": "Search",
"persistence": "closeable",
"order": 100,
@@ -325,7 +340,7 @@
{
"type": "view",
"location": "drawer-view",
- "name": "sources.history",
+ "id": "sources.history",
"title": "History",
"persistence": "temporary",
"className": "WebInspector.RevisionHistoryView"
@@ -333,7 +348,7 @@
{
"type": "view",
"location": "drawer-view",
- "name": "sources.quick",
+ "id": "sources.quick",
"title": "Quick source",
"persistence": "closeable",
"order": 1000,
@@ -345,6 +360,11 @@
"actionId": "sources.close-all",
"className": "WebInspector.SourcesView.CloseAllActionDelegate",
"title": "Close All"
+ },
+ {
+ "type": "@WebInspector.ViewLocationResolver",
+ "name": "navigator-view",
+ "className": "WebInspector.SourcesPanel"
}
],
"dependencies": [

Powered by Google App Engine
This is Rietveld 408576698