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

Unified Diff: Source/devtools/front_end/DockController.js

Issue 71633003: DevTools: added "overlayContents" mode, where DevTools content is placed around and underneath inse… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No-op if no overlayContents Created 7 years 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: Source/devtools/front_end/DockController.js
diff --git a/Source/devtools/front_end/DockController.js b/Source/devtools/front_end/DockController.js
index d2823482ba02325bbf58a90cc042c16dc0d6ce51..c43f998132fd7a16d877b777db659eb7b8b3bca7 100644
--- a/Source/devtools/front_end/DockController.js
+++ b/Source/devtools/front_end/DockController.js
@@ -40,7 +40,7 @@ WebInspector.DockController = function()
this._dockToggleButtonOption.addEventListener("click", this._toggleDockState, this);
this._dockToggleButton.setLongClickOptionsEnabled(this._createDockOptions.bind(this));
- this.setDockSide(WebInspector.queryParamsObject["dockSide"] || "bottom");
+ this.setDockSide(WebInspector.WorkerManager.isWorkerFrontend() ? "undocked" : (WebInspector.queryParamsObject["dockSide"] || "bottom"));
pfeldman 2013/12/05 15:44:06 There is a number of cases where dock size is not
dgozman 2013/12/06 16:17:13 Solved separately.
}
WebInspector.DockController.State = {
« no previous file with comments | « no previous file | Source/devtools/front_end/Drawer.js » ('j') | Source/devtools/front_end/InspectorFrontendHostStub.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698