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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js

Issue 2815373003: DevTools: Add more views to command menu (Closed)
Patch Set: Add panel location 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/module.json ('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/ui/InspectorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
index 077d6c9a2dbf8f882736e2298b17ca7c9c1c8612..fc8cf5fc47619963613449b4828e50158778c808 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
@@ -111,7 +111,11 @@ UI.InspectorView = class extends UI.VBox {
* @return {?UI.ViewLocation}
*/
resolveLocation(locationName) {
- return this._drawerTabbedLocation;
+ if (locationName === 'drawer-view')
+ return this._drawerTabbedLocation;
+ if (locationName === 'panel')
+ return this._tabbedLocation;
+ return null;
}
createToolbars() {
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/module.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698