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

Unified Diff: Source/devtools/front_end/InspectorFrontendAPI.js

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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: Source/devtools/front_end/InspectorFrontendAPI.js
diff --git a/Source/devtools/front_end/InspectorFrontendAPI.js b/Source/devtools/front_end/InspectorFrontendAPI.js
index e06fff24a91fddc511d4b516286db57fbaa4097e..d1236af3b85c4cc452b44e41afcfd6d682276dc4 100644
--- a/Source/devtools/front_end/InspectorFrontendAPI.js
+++ b/Source/devtools/front_end/InspectorFrontendAPI.js
@@ -79,7 +79,7 @@ var InspectorFrontendAPI = {
{
var uiSourceCode = WebInspector.workspace.uiSourceCodeForURL(url);
if (uiSourceCode) {
- WebInspector.showPanel("scripts").showUISourceCode(uiSourceCode, lineNumber, columnNumber);
+ WebInspector.showPanel("sources").showUISourceCode(uiSourceCode, lineNumber, columnNumber);
return;
}
@@ -90,7 +90,7 @@ var InspectorFrontendAPI = {
{
var uiSourceCode = /** @type {WebInspector.UISourceCode} */ (event.data);
if (uiSourceCode.url === url) {
- WebInspector.showPanel("scripts").showUISourceCode(uiSourceCode, lineNumber, columnNumber);
+ WebInspector.showPanel("sources").showUISourceCode(uiSourceCode, lineNumber, columnNumber);
WebInspector.workspace.removeEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, listener);
}
}
« no previous file with comments | « Source/devtools/front_end/FilteredItemSelectionDialog.js ('k') | Source/devtools/front_end/JavaScriptSourceFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698