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

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

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (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 ace91f89d305f3d3699127836188c18cdab16508..afeede4091d46ba40c95f2eccb0c0b0733bd3e45 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/sources/module.json
@@ -9,8 +9,8 @@
},
{
"type": "@WebInspector.ContextMenu.Provider",
- "contextTypes": ["WebInspector.UISourceCode", "WebInspector.UILocation", "WebInspector.RemoteObject", "WebInspector.NetworkRequest"],
- "className": "WebInspector.SourcesPanel.ContextMenuProvider"
+ "contextTypes": ["WebInspector.UISourceCode", "WebInspector.UILocation", "WebInspector.RemoteObject", "WebInspector.NetworkRequest", "WebInspector.UISourceCodeFrame"],
+ "className": "WebInspector.SourcesPanel"
},
{
"type": "@WebInspector.ActionDelegate",
@@ -146,6 +146,35 @@
]
},
{
+ "type": "@WebInspector.ActionDelegate",
+ "actionId": "sources.add-to-watch",
+ "className": "WebInspector.WatchExpressionsSidebarPane",
+ "title": "Add selected text to watches",
+ "contextTypes": ["WebInspector.UISourceCodeFrame"],
+ "bindings": [
+ {
+ "shortcut": "Ctrl+Shift+A'"
+ }
+ ]
+ },
+ {
+ "type": "@WebInspector.ContextMenu.Provider",
+ "contextTypes": ["WebInspector.CodeMirrorTextEditor"],
+ "className": "WebInspector.WatchExpressionsSidebarPane"
+ },
+ {
+ "type": "@WebInspector.ActionDelegate",
+ "actionId": "debugger.evaluate-selection",
+ "className": "WebInspector.SourcesPanel.DebuggingActionDelegate",
+ "title": "Evaluate in console",
+ "contextTypes": ["WebInspector.UISourceCodeFrame"],
+ "bindings": [
+ {
+ "shortcut": "Ctrl+E'"
+ }
+ ]
+ },
+ {
"type": "context-menu-item",
"location": "mainMenu/navigate",
"actionId": "sources.search.toggle"
@@ -408,6 +437,60 @@
"order": 9,
"persistence": "permanent",
"className": "WebInspector.EventListenerBreakpointsSidebarPane"
+ },
+ {
+ "type": "view",
+ "id": "sources.threads",
+ "title": "Threads",
+ "persistence": "permanent",
+ "className": "WebInspector.ThreadsSidebarPane"
+ },
+ {
+ "type": "view",
+ "id": "sources.scopeChain",
+ "title": "Scope",
+ "persistence": "permanent",
+ "className": "WebInspector.ScopeChainSidebarPane"
+ },
+ {
+ "type": "view",
+ "id": "sources.watch",
+ "title": "Watch",
+ "hasToolbar": true,
+ "persistence": "permanent",
+ "className": "WebInspector.WatchExpressionsSidebarPane"
+ },
+ {
+ "type": "view",
+ "id": "sources.jsBreakpoints",
+ "title": "Breakpoints",
+ "persistence": "permanent",
+ "className": "WebInspector.JavaScriptBreakpointsSidebarPane"
+ },
+ {
+ "type": "@WebInspector.ContextFlavorListener",
+ "contextTypes": ["WebInspector.DebuggerPausedDetails"],
+ "className": "WebInspector.JavaScriptBreakpointsSidebarPane"
+ },
+ {
+ "type": "@WebInspector.ContextFlavorListener",
+ "contextTypes": ["WebInspector.DebuggerPausedDetails"],
+ "className": "WebInspector.XHRBreakpointsSidebarPane"
+ },
+ {
+ "type": "@WebInspector.ContextFlavorListener",
+ "contextTypes": ["WebInspector.DebuggerPausedDetails"],
+ "className": "WebInspector.DOMBreakpointsSidebarPane"
+ },
+ {
+ "type": "@WebInspector.ContextFlavorListener",
+ "contextTypes": ["WebInspector.DebuggerPausedDetails"],
+ "className": "WebInspector.CallStackSidebarPane"
+ },
+ {
+ "type": "@WebInspector.ContextFlavorListener",
+ "contextTypes": ["WebInspector.DebuggerModel.CallFrame"],
+ "className": "WebInspector.ScopeChainSidebarPane"
}
],
"dependencies": [

Powered by Google App Engine
This is Rietveld 408576698