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

Unified Diff: Source/devtools/front_end/sources/SourcesView.js

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 7 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/sources/SourcesPanel.js ('k') | Source/devtools/front_end/sources/module.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/SourcesView.js
diff --git a/Source/devtools/front_end/sources/SourcesView.js b/Source/devtools/front_end/sources/SourcesView.js
index a384800d3274f73260cd666b400f95cb2bf31ced..18d4198187c6d6ecd3b7244bafccaefb8b4c3858 100644
--- a/Source/devtools/front_end/sources/SourcesView.js
+++ b/Source/devtools/front_end/sources/SourcesView.js
@@ -77,7 +77,7 @@ WebInspector.SourcesView = function(workspace, sourcesPanel)
event.returnValue = WebInspector.UIString("DevTools have unsaved changes that will be permanently lost.");
WebInspector.inspectorView.showPanel("sources");
for (var i = 0; i < unsavedSourceCodes.length; ++i)
- WebInspector.panels.sources.showUISourceCode(unsavedSourceCodes[i]);
+ WebInspector.Revealer.reveal(unsavedSourceCodes[i]);
}
window.addEventListener("beforeunload", handleBeforeUnload, true);
« no previous file with comments | « Source/devtools/front_end/sources/SourcesPanel.js ('k') | Source/devtools/front_end/sources/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698