closer to having a modal dialog loop on the Mac
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user