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

Unified Diff: Source/devtools/front_end/SourcesSearchScope.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/SourcesPanelDescriptor.js ('k') | Source/devtools/front_end/StylesSidebarPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourcesSearchScope.js
diff --git a/Source/devtools/front_end/ScriptsSearchScope.js b/Source/devtools/front_end/SourcesSearchScope.js
similarity index 97%
rename from Source/devtools/front_end/ScriptsSearchScope.js
rename to Source/devtools/front_end/SourcesSearchScope.js
index 610869cd85f0fb91482628687d5f29b87c9fe18f..fb5ce242fd198cfb22743465ab0eb49cd22a3d8c 100644
--- a/Source/devtools/front_end/ScriptsSearchScope.js
+++ b/Source/devtools/front_end/SourcesSearchScope.js
@@ -31,7 +31,7 @@
* @implements {WebInspector.SearchScope}
* @param {WebInspector.Workspace} workspace
*/
-WebInspector.ScriptsSearchScope = function(workspace)
+WebInspector.SourcesSearchScope = function(workspace)
{
// FIXME: Add title once it is used by search controller.
WebInspector.SearchScope.call(this)
@@ -39,7 +39,7 @@ WebInspector.ScriptsSearchScope = function(workspace)
this._workspace = workspace;
}
-WebInspector.ScriptsSearchScope.prototype = {
+WebInspector.SourcesSearchScope.prototype = {
/**
* @param {WebInspector.Progress} progress
* @param {function(boolean)} indexingFinishedCallback
@@ -88,7 +88,7 @@ WebInspector.ScriptsSearchScope.prototype = {
{
return !project.isServiceProject();
}
-
+
var projects = this._workspace.projects().filter(filterOutServiceProjects);
var barrier = new CallbackBarrier();
var compositeProgress = new WebInspector.CompositeProgress(progress);
« no previous file with comments | « Source/devtools/front_end/SourcesPanelDescriptor.js ('k') | Source/devtools/front_end/StylesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698