Skip to content

Instantly share code, notes, and snippets.

@gregtatum
Created November 14, 2016 16:10
Show Gist options
  • Select an option

  • Save gregtatum/3b5ebb6b893a01ca6ca2f54c6fe082ae to your computer and use it in GitHub Desktop.

Select an option

Save gregtatum/3b5ebb6b893a01ca6ca2f54c6fe082ae to your computer and use it in GitHub Desktop.
diff --git a/devtools/client/framework/toolbox.js b/devtools/client/framework/toolbox.js
index 5cbacca..a88d38f 100644
--- a/devtools/client/framework/toolbox.js
+++ b/devtools/client/framework/toolbox.js
@@ -123,10 +123,6 @@ function Toolbox(target, selectedTool, hostType, contentWindow, frameId) {
this._showDevEditionPromo = this._showDevEditionPromo.bind(this);
this._updateTextBoxMenuItems = this._updateTextBoxMenuItems.bind(this);
this._onPerformanceFrontEvent = this._onPerformanceFrontEvent.bind(this);
- this._onBottomHostWillChange = this._onBottomHostWillChange.bind(this);
- this._toggleMinimizeMode = this._toggleMinimizeMode.bind(this);
- this._onTabbarFocus = this._onTabbarFocus.bind(this);
- this._onTabbarArrowKeypress = this._onTabbarArrowKeypress.bind(this);
this._onPickerClick = this._onPickerClick.bind(this);
this._onPickerKeypress = this._onPickerKeypress.bind(this);
this._onPickerStarted = this._onPickerStarted.bind(this);
@@ -647,16 +643,6 @@ Toolbox.prototype = {
case "switched-host":
this._onSwitchedHost(event.data);
break;
- case "host-minimized":
- if (this.hostType == Toolbox.HostType.BOTTOM) {
- this._onBottomHostMinimized();
- }
- break;
- case "host-maximized":
- if (this.hostType == Toolbox.HostType.BOTTOM) {
- this._onBottomHostMaximized();
- }
- break;
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment