From e86ba7ca20ebec5989a318a37ab3fbb4bfcfbf9c Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Thu, 28 Feb 2002 23:24:31 +0000 Subject: [PATCH] add method topLevelWindowIsModal. bug 126786 r=hyatt,rginda a=asa git-svn-id: svn://10.0.0.236/trunk@115521 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/public/nsIAppShellService.idl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mozilla/xpfe/appshell/public/nsIAppShellService.idl b/mozilla/xpfe/appshell/public/nsIAppShellService.idl index c205ac30d20..ce52d237e16 100644 --- a/mozilla/xpfe/appshell/public/nsIAppShellService.idl +++ b/mozilla/xpfe/appshell/public/nsIAppShellService.idl @@ -168,6 +168,16 @@ interface nsIAppShellService : nsISupports */ void unregisterTopLevelWindow(in nsIXULWindow aWindow); + /** + * The appshell service needs to be informed of modal XUL windows currently + * open. Call this method as a window becomes modal or as it becomes + * nonmodal. + * @param aWindow no surprises here + * @param aModal true if aWindow is becoming modal + * false if aWindow is becoming nonmodal (or being closed) + */ + void topLevelWindowIsModal(in nsIXULWindow aWindow, in boolean aModal); + /** * Remove the splash screen (if visible). This need be called * only once per application session.