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

Unified Diff: Source/devtools/front_end/inspector.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: Created 7 years, 1 month 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/inspector.js
diff --git a/Source/devtools/front_end/inspector.js b/Source/devtools/front_end/inspector.js
index d025c9e3a231ea7fc420ed8b92b17dde5dd29378..cfc722dc76a6ce12be97f6621487c776273732ab 100644
--- a/Source/devtools/front_end/inspector.js
+++ b/Source/devtools/front_end/inspector.js
@@ -84,6 +84,17 @@ var WebInspector = {
return !!WebInspector.queryParamsObject["remoteFrontend"];
},
+ /**
+ * @return {boolean}
+ */
+ useOverlayContentsLayout: function()
+ {
+ var docked = WebInspector.queryParamsObject["dockSide"] !== WebInspector.DockController.State.Undocked;
+ if (WebInspector.dockController)
+ docked = WebInspector.dockController.dockSide() !== WebInspector.DockController.State.Undocked;
+ return docked && !!WebInspector.queryParamsObject["overlayContents"];
+ },
+
_toggleScreencastButtonClicked: function()
{
this._toggleScreencastButton.toggled = !this._toggleScreencastButton.toggled;
« Source/devtools/front_end/SplitView.js ('K') | « Source/devtools/front_end/inspector.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698