mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
92 lines
1.8 KiB
JavaScript
92 lines
1.8 KiB
JavaScript
function NewBrowserWindow() {}
|
|
function NewBlankPage() {}
|
|
function TemplatePage() {}
|
|
function WizardPage() {}
|
|
function PageSetup() {}
|
|
function PrintPreview() {}
|
|
function Print() {}
|
|
function Close() {}
|
|
function Exit()
|
|
{
|
|
dump("\nExit from XUL\n");
|
|
var appCore = FindMsgAppCore();
|
|
if (appCore != null) {
|
|
dump("\nAppcore isn't null in Exit\n");
|
|
appCore.SetWindow(window);
|
|
appCore.exit();
|
|
}
|
|
}
|
|
|
|
function CharacterSet(){}
|
|
function MessengerSetDefaultCharacterSet(aCharset)
|
|
{
|
|
var appCore = FindMsgAppCore();
|
|
if (appCore != null) {
|
|
dump(aCharset);dump("\n");
|
|
appCore.SetDocumentCharset(aCharset);
|
|
MsgReload();
|
|
} else {
|
|
dump("MsgAppCore has not been created!\n");
|
|
}
|
|
}
|
|
|
|
function NavigatorWindow()
|
|
{
|
|
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
|
|
if (!toolkitCore)
|
|
{
|
|
toolkitCore = new ToolkitCore();
|
|
if (toolkitCore)
|
|
{
|
|
toolkitCore.Init("ToolkitCore");
|
|
}
|
|
}
|
|
|
|
if (toolkitCore)
|
|
{
|
|
toolkitCore.ShowWindow("chrome://navigator/content/",
|
|
window);
|
|
}
|
|
|
|
|
|
}
|
|
function MessengerWindow() {}
|
|
function ComposerWindow() {}
|
|
function AIMService() {}
|
|
function AddBookmark() {}
|
|
function FileBookmark() {}
|
|
function EditBookmark() {}
|
|
function Newsgroups() {}
|
|
function AddressBook()
|
|
{
|
|
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
|
|
if (!toolkitCore)
|
|
{
|
|
toolkitCore = new ToolkitCore();
|
|
if (toolkitCore)
|
|
{
|
|
toolkitCore.Init("ToolkitCore");
|
|
}
|
|
}
|
|
|
|
if (toolkitCore)
|
|
{
|
|
toolkitCore.ShowWindow("chrome://addressbook/content/",
|
|
window);
|
|
}
|
|
|
|
}
|
|
|
|
function History() {}
|
|
function SecurityInfo() {}
|
|
function MessengerCenter() {}
|
|
function JavaConsole() {}
|
|
function PageService() {}
|
|
function MailAccount() {}
|
|
function MaillingList() {}
|
|
function FolderPermission() {}
|
|
function ManageNewsgroup() {}
|
|
function WindowList() {}
|
|
function Help() {}
|
|
function About() {}
|