Skip to content

Commit

Permalink
Remove WebIDE devtools component.
Browse files Browse the repository at this point in the history
This resolves #1123
  • Loading branch information
wolfbeast committed Jul 13, 2019
1 parent 69970c9 commit 197f4cb
Show file tree
Hide file tree
Showing 163 changed files with 0 additions and 13,812 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const kPrefCustomizationState = "browser.uiCustomization.state";
const kPrefCustomizationAutoAdd = "browser.uiCustomization.autoAdd";
const kPrefCustomizationDebug = "browser.uiCustomization.debug";
const kPrefDrawInTitlebar = "browser.tabs.drawInTitlebar";
const kPrefWebIDEInNavbar = "devtools.webide.widget.inNavbarByDefault";

const kExpectedWindowURL = "chrome://browser/content/browser.xul";

Expand Down Expand Up @@ -230,10 +229,6 @@ var CustomizableUIInternal = {
navbarPlacements.splice(2, 0, "developer-button");
}

if (Services.prefs.getBoolPref(kPrefWebIDEInNavbar)) {
navbarPlacements.push("webide-button");
}

// Place this last, when createWidget is called for pocket, it will
// append to the toolbar.
if (Services.prefs.getPrefType("extensions.pocket.enabled") != Services.prefs.PREF_INVALID &&
Expand Down
17 changes: 0 additions & 17 deletions devtools/client/framework/devtools-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,23 +123,6 @@ var gDevToolsBrowser = exports.gDevToolsBrowser = {
win.DeveloperToolbar.show(false).catch(console.error);
}

// Enable WebIDE?
let webIDEEnabled = Services.prefs.getBoolPref("devtools.webide.enabled");
idEls = [
"appmenu_webide",
"menu_webide"
];
idEls.forEach(function (idEl) {
toggleMenuItem(idEl, webIDEEnabled);
});

let showWebIDEWidget = Services.prefs.getBoolPref("devtools.webide.widget.enabled");
if (webIDEEnabled && showWebIDEWidget) {
gDevToolsBrowser.installWebIDEWidget();
} else {
gDevToolsBrowser.uninstallWebIDEWidget();
}

// Enable Browser Toolbox?
let chromeEnabled = Services.prefs.getBoolPref("devtools.chrome.enabled");
let devtoolsRemoteEnabled = Services.prefs.getBoolPref("devtools.debugger.remote-enabled");
Expand Down
11 changes: 0 additions & 11 deletions devtools/client/framework/gDevTools.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,9 @@ let gDevToolsBrowserMethods = [
// Used by browser-sets.inc, command
"openConnectScreen",

// Used by browser-sets.inc, command
// itself, webide widget
"openWebIDE",

// Used by browser-sets.inc, command
"openContentProcessToolbox",

// Used by webide.js
"moveWebIDEWidgetInNavbar",

// Used by browser.js
"registerBrowserWindow",

Expand All @@ -146,10 +139,6 @@ let gDevToolsBrowserMethods = [
"forgetBrowserWindow"
];
this.gDevToolsBrowser = {
// Used by webide.js
get isWebIDEInitialized() {
return browser.isWebIDEInitialized;
},
// Used by a test (should be removed)
get _trackedBrowserWindows() {
return browser._trackedBrowserWindows;
Expand Down
5 changes: 0 additions & 5 deletions devtools/client/locales/en-US/menus.properties
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ devToolbarMenu.accesskey = v
devToolbarMenu.key = VK_F2
devToolbarMenu.keytext = F2

webide.label = WebIDE
webide.accesskey = W
webide.key = VK_F8
webide.keytext = F8

devToolboxMenuItem.label = Toggle Tools
devToolboxMenuItem.accesskey = T
devToolboxMenuItem.key = I
Expand Down
222 changes: 0 additions & 222 deletions devtools/client/locales/en-US/webide.dtd

This file was deleted.

92 changes: 0 additions & 92 deletions devtools/client/locales/en-US/webide.properties

This file was deleted.

Loading

0 comments on commit 197f4cb

Please sign in to comment.