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

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

Issue 2418813005: DevTools: [Persistence] implement automapping (Closed)
Patch Set: update UI 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/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index 090a09be0ef9d2b063cfdf57d77c51682d1fa97a..18aaab1baef3c0707424a450ec95b43b8f8a3373 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -795,6 +795,9 @@ WebInspector.SourcesPanel.prototype = {
_appendUISourceCodeMappingItems: function(contextMenu, uiSourceCode)
{
WebInspector.NavigatorView.appendAddFolderItem(contextMenu);
+
+ if (Runtime.experiments.isEnabled("persistence2"))
+ return;
if (uiSourceCode.project().type() === WebInspector.projectTypes.FileSystem) {
var binding = WebInspector.persistence.binding(uiSourceCode);
if (!binding)

Powered by Google App Engine
This is Rietveld 408576698