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; |