closer to having a modal dialog loop on the Mac

git-svn-id: svn://10.0.0.236/trunk@24971 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
danm%netscape.com
1999-03-24 05:42:21 +00:00
parent 9d6661c4ef
commit b061e09932
13 changed files with 374 additions and 205 deletions

View File

@@ -69,8 +69,6 @@ public:
NS_IMETHOD Initialize(void);
NS_IMETHOD Run(void);
NS_IMETHOD GetNativeEvent(void *& aEvent, nsIWebShellWindow* aWindow, PRBool &aIsInWindow, PRBool &aIsMouseEvent);
NS_IMETHOD DispatchNativeEvent(void * aEvent);
NS_IMETHOD Shutdown(void);
NS_IMETHOD CreateTopLevelWindow(nsIWebShellWindow * aParent,
nsIURL* aUrl,
@@ -176,22 +174,6 @@ nsAppShellService::Run(void)
return mAppShell->Run();
}
NS_IMETHODIMP
nsAppShellService::GetNativeEvent(void *& aEvent, nsIWebShellWindow* aWindow, PRBool &aIsInWindow, PRBool &aIsMouseEvent)
{
nsIWidget *windowWidget = nsnull;
if (aWindow != nsnull)
if (NS_FAILED(aWindow->GetWidget(windowWidget)))
windowWidget = nsnull;
return mAppShell->GetNativeEvent(aEvent, windowWidget, aIsInWindow, aIsMouseEvent);
}
NS_IMETHODIMP
nsAppShellService::DispatchNativeEvent(void * aEvent)
{
return mAppShell->DispatchNativeEvent(aEvent);
}
NS_IMETHODIMP
nsAppShellService::Shutdown(void)
{