Bug 1458591 - remove unused toolbar propType;r=jryans draft
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 02 May 2018 20:52:41 +0200
changeset 790769 6ac5b3bb22cf314f00603c43a00b01c4e9fd7f63
parent 790768 9efd2d2fd906856f588e6b7bc357b320e126b264
push id108581
push userjdescottes@mozilla.com
push dateWed, 02 May 2018 18:53:05 +0000
reviewersjryans
bugs1458591
milestone61.0a1
Bug 1458591 - remove unused toolbar propType;r=jryans MozReview-Commit-ID: 8e85Fw4PLNQ
devtools/client/framework/components/toolbox-toolbar.js
--- a/devtools/client/framework/components/toolbox-toolbar.js
+++ b/devtools/client/framework/components/toolbox-toolbar.js
@@ -37,19 +37,16 @@ class ToolboxToolbar extends Component {
       // List of possible docking options.
       hostTypes: PropTypes.arrayOf(PropTypes.shape({
         position: PropTypes.string.isRequired,
         switchHost: PropTypes.func.isRequired,
       })),
       // Current docking type. Typically one of the position values in
       // |hostTypes| but this is not always the case (e.g. when it is "custom").
       currentHostType: PropTypes.string,
-      // Should the docking options be enabled? They are disabled in some
-      // contexts such as WebIDE.
-      areDockButtonsEnabled: PropTypes.bool,
       // Do we need to add UI for closing the toolbox? We don't when the
       // toolbox is undocked, for example.
       canCloseToolbox: PropTypes.bool,
       // Is the split console currently visible?
       isSplitConsoleActive: PropTypes.bool,
       // Are we disabling the behavior where pop-ups are automatically closed
       // when clicking outside them?
       //