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

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

Issue 1563113002: DevTools: add a navigator menu with grouping options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/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 b91a7242dd9a960290109ceb3ad40b8a70500a3a..878b5fcb908d9f06c6369dc1cd99001194c6974b 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/sources/module.json
@@ -157,6 +157,11 @@
"actionId": "sources.search.toggle"
},
{
+ "type": "context-menu-item",
+ "location": "navigatorMenu/navigate",
+ "actionId": "sources.go-to-source"
+ },
+ {
"type": "@WebInspector.Revealer",
"contextTypes": ["WebInspector.UILocation"],
"className": "WebInspector.SourcesPanel.UILocationRevealer"
@@ -211,6 +216,7 @@
{
"type": "@WebInspector.ActionDelegate",
"actionId": "sources.go-to-source",
+ "title": "Go to file...",
"className": "WebInspector.SourcesPanel.RevealingActionDelegate",
"order": 100,
"bindings": [
@@ -237,18 +243,21 @@
},
{
"type": "setting",
- "category": "Sources",
- "title": "Group items by",
- "settingName": "navigatorGrouping",
- "settingType": "enum",
- "defaultValue": "frame/domain/folder",
- "options": [
- ["Frames", "frame"],
- ["Frames and Domains", "frame/domain"],
- ["Frames, Domains and Folders", "frame/domain/folder"],
- ["Domains", "domain"],
- ["Domains and Folders", "domain/folder"]
- ]
+ "settingName": "navigatorGroupByFrame",
+ "settingType": "boolean",
+ "defaultValue": "true"
+ },
+ {
+ "type": "setting",
+ "settingName": "navigatorGroupByDomain",
+ "settingType": "boolean",
+ "defaultValue": "true"
+ },
+ {
+ "type": "setting",
+ "settingName": "navigatorGroupByFolder",
+ "settingType": "boolean",
+ "defaultValue": "true"
},
{
"type": "setting",

Powered by Google App Engine
This is Rietveld 408576698