diff --git a/mozilla/xpfe/browser/src/MANIFEST b/mozilla/xpfe/browser/src/MANIFEST index 163b08cb49b..f4bc2fcb2ef 100644 --- a/mozilla/xpfe/browser/src/MANIFEST +++ b/mozilla/xpfe/browser/src/MANIFEST @@ -1,5 +1,4 @@ status.xul -toolbar.xml downloadProgress.xul downloadProgress.css navigator-shiny.css diff --git a/mozilla/xpfe/browser/src/toolbar.xml b/mozilla/xpfe/browser/src/toolbar.xml deleted file mode 100644 index 06f0d6e374b..00000000000 --- a/mozilla/xpfe/browser/src/toolbar.xml +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - function StartUp() - { - dump("Doing Startup...\n"); - appCore = XPAppCoresManager.Find("BrowserAppCore"); - dump("Looking up BrowserAppCore...\n"); - if (appCore == null) { - dump("Creating BrowserAppCore...\n"); - appCore = new BrowserAppCore(); - if (appCore != null) { - dump("BrowserAppCore has been created.\n"); - appCore.Init("BrowserAppCore"); - appCore.setToolbarWindow(window); - appCore.setContentWindow(window.parent.frames[1]); - appCore.setWebShellWindow(window.parent); - appCore.setDisableCallback("DoDisableButtons();"); - appCore.setEnableCallback("DoEnableButtons();"); - dump("Adding BrowserAppCore to AppCoreManager...\n"); - XPAppCoresManager.Add(appCore); - } - } else { - dump("BrowserAppCore has already been created! Why?\n"); - } - } - - function DoDisableButtons() - { - // Find buttons in the UI and disable them - dump("Browser disabling buttons\n"); - } - - function DoEnableButtons() - { - // Find buttons in the UI and enable them - dump("Browser enabling buttons\n"); - } - - function BrowserBack() - { - appCore = XPAppCoresManager.Find("BrowserAppCore"); - if (appCore != null) { - dump("Going Back\n"); - appCore.back(); - } else { - dump("BrowserAppCore has not been created!\n"); - } - } - - function BrowserForward() - { - appCore = XPAppCoresManager.Find("BrowserAppCore"); - if (appCore != null) { - dump("Going Forward\n"); - appCore.forward(); - } else { - dump("BrowserAppCore has not been created!\n"); - } - } - - function BrowserNewWindow() - { - appCore = XPAppCoresManager.Find("BrowserAppCore"); - if (appCore != null) { - dump("Opening New Window\n"); - appCore.newWindow(); - } else { - dump("BrowserAppCore has not been created!\n"); - } - } - - function BrowserPrintPreview() - { - dump("BrowserPrintPreview\n"); - } - - function BrowserClose() - { - dump("BrowserClose\n"); - } - - function BrowserExit() - { - appCore = XPAppCoresManager.Find("BrowserAppCore"); - if (appCore != null) { - dump("Exiting\n"); - appCore.exit(); - } else { - dump("BrowserAppCore has not been created!\n"); - } - } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Back - - - Forward - - - Reload - - - Stop - - - Home - - - Print - - - - - - - - Bookmarks - - - - What's Related - - - - - - Mozilla.org - - - Mozilla.org - - - Mozilla.org - - - - - - -