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

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

Issue 2418813005: DevTools: [Persistence] implement automapping (Closed)
Patch Set: address comments 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/settings/editFileSystemView.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/settings/editFileSystemView.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698