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

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, 9 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 e47760e0cd71bba41470b850405cb7b3505ede99..26dd966cac5c5a006fe071c7ad535920b3bdb559 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('framesSelectorAppPanel'))
+ this._sidebar = new Resources.ApplicationPanelSidebarWithFramesSelector();
+ else
+ this._sidebar = new Resources.ApplicationPanelSidebar(this);
this._sidebar.show(this.panelSidebarElement());
}

Powered by Google App Engine
This is Rietveld 408576698