From edc19d406c0c27bef82d166309a4f2f8c5335e79 Mon Sep 17 00:00:00 2001 From: "chuang%netscape.com" Date: Fri, 12 Feb 1999 00:05:13 +0000 Subject: [PATCH] Open a separate 3 pane Mail window using Javascrip --- .../ui/messenger/public/nsIDOMMsgAppCore.h | 1 + .../ui/messenger/public/nsIDOMMsgAppCore.idl | 1 + .../ui/messenger/resources/messenger.html | 54 ------------------- mailnews/ui/messenger/src/nsJSMsgAppCore.cpp | 29 ++++++++++ mailnews/ui/messenger/src/nsMsgAppCore.cpp | 35 +++++++++++- 5 files changed, 65 insertions(+), 55 deletions(-) diff --git a/mailnews/ui/messenger/public/nsIDOMMsgAppCore.h b/mailnews/ui/messenger/public/nsIDOMMsgAppCore.h index 6cd7af94d66..59f26493694 100644 --- a/mailnews/ui/messenger/public/nsIDOMMsgAppCore.h +++ b/mailnews/ui/messenger/public/nsIDOMMsgAppCore.h @@ -26,6 +26,7 @@ class nsIDOMMsgAppCore : public nsIDOMBaseAppCore { /* void GetNewMail (); */ NS_IMETHOD GetNewMail() = 0; + NS_IMETHOD Open3PaneWindow()=0; }; #endif /* __gen_nsIDOMMsgAppCore_h__ */ diff --git a/mailnews/ui/messenger/public/nsIDOMMsgAppCore.idl b/mailnews/ui/messenger/public/nsIDOMMsgAppCore.idl index b9700fc52fb..c5000f231db 100644 --- a/mailnews/ui/messenger/public/nsIDOMMsgAppCore.idl +++ b/mailnews/ui/messenger/public/nsIDOMMsgAppCore.idl @@ -43,6 +43,7 @@ interface nsIDOMMsgAppCore : nsIDOMBaseAppCore { void GetNewMail(); + void Open3PaneWindow(); }; diff --git a/mailnews/ui/messenger/resources/messenger.html b/mailnews/ui/messenger/resources/messenger.html index 9b492779c3f..e69de29bb2d 100644 --- a/mailnews/ui/messenger/resources/messenger.html +++ b/mailnews/ui/messenger/resources/messenger.html @@ -1,54 +0,0 @@ - - - - - - - -Mozilla Messenger - - - - - -