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

Unified Diff: Source/devtools/front_end/StylesSidebarPane.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
« no previous file with comments | « Source/devtools/front_end/SourcesSearchScope.js ('k') | Source/devtools/front_end/Tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/StylesSidebarPane.js
diff --git a/Source/devtools/front_end/StylesSidebarPane.js b/Source/devtools/front_end/StylesSidebarPane.js
index b02224a8a8e3c2c1139f5f72c699b71c694a94f8..7188f1b21502c1c072fbe7b4507934dc85fa20fc 100644
--- a/Source/devtools/front_end/StylesSidebarPane.js
+++ b/Source/devtools/front_end/StylesSidebarPane.js
@@ -994,7 +994,7 @@ WebInspector.StylePropertiesSection = function(parentPane, styleRule, editable,
// The "linkedStylesheet" case.
anchor = WebInspector.linkifyResourceAsNode(media.sourceURL, undefined, "subtitle", media.sourceURL);
}
- anchor.preferredPanel = "scripts";
+ anchor.preferredPanel = "sources";
anchor.style.float = "right";
refElement.appendChild(anchor);
}
@@ -1307,7 +1307,7 @@ WebInspector.StylePropertiesSection.prototype = {
function linkifyUncopyable(url, line)
{
var link = WebInspector.linkifyResourceAsNode(url, line, "", url + ":" + (line + 1));
- link.preferredPanel = "scripts";
+ link.preferredPanel = "sources";
link.classList.add("webkit-html-resource-link");
link.setAttribute("data-uncopyable", link.textContent);
link.textContent = "";
@@ -2276,7 +2276,7 @@ WebInspector.StylePropertyTreeElement.prototype = {
var uiLocation = this.property.uiLocation(propertyNameClicked);
if (!uiLocation)
return;
- WebInspector.showPanel("scripts").showUILocation(uiLocation);
+ WebInspector.showPanel("sources").showUILocation(uiLocation);
},
/**
« no previous file with comments | « Source/devtools/front_end/SourcesSearchScope.js ('k') | Source/devtools/front_end/Tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698