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

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

Issue 2412023002: DevTools: migrate InspectorView to tabbed view location. (Closed)
Patch Set: made layers panel closeable. Created 4 years, 2 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/SourcesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
index 887d3164eaa676cb50faf858447994ed50b28efc..962e3f5bf258ce2aa0adba15df6c7a70122aaca6 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
@@ -76,7 +76,7 @@ WebInspector.SourcesView = function()
return;
event.returnValue = WebInspector.UIString("DevTools have unsaved changes that will be permanently lost.");
- WebInspector.inspectorView.setCurrentPanel(WebInspector.SourcesPanel.instance());
+ WebInspector.viewManager.showView("sources");
for (var i = 0; i < unsavedSourceCodes.length; ++i)
WebInspector.Revealer.reveal(unsavedSourceCodes[i]);

Powered by Google App Engine
This is Rietveld 408576698