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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js

Issue 2773583002: [DevTools] Introduce a sidebar with a drop-down
Patch Set: [DevTools] Introduce a sidebar with a drop-down Created 3 years, 8 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/resources/ResourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
index 132bcdb1f932991816cfc8ec94b3c4f89d655300..d27b449ad53eeb543090efd551b24d8aee6ad9a7 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
@@ -29,7 +29,10 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
/** @type {?UI.EmptyWidget} */
this._emptyWidget = null;
- this._sidebar = new Resources.ApplicationPanelSidebar(this);
+ if (Runtime.experiments.isEnabled('framesMenuAppPanel'))
+ this._sidebar = new Resources.FrameMenuSidebar();
+ else
+ this._sidebar = new Resources.ApplicationPanelSidebar(this);
this._sidebar.show(this.panelSidebarElement());
}

Powered by Google App Engine
This is Rietveld 408576698