a=edburns

r=ashuk
bugs: 44327, 44328

NativeEventThread:

Re-instate the policy of creating an EventQueue for each window.
Put in a superfluous printf in processEventLoop that fixes 44327.

nsActions.{cpp,h}:

Added wsDeallocateInitContextEvent, to enable the correct
removal of the eventQueue, 44328

WindowControlImpl

Fire the wsDeallocateInitcontextEvent in nativeDestroyInitContext.


git-svn-id: svn://10.0.0.236/trunk@73826 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2000-07-07 18:53:07 +00:00
parent 472deb45c4
commit 468587270c
4 changed files with 139 additions and 99 deletions

View File

@@ -44,6 +44,8 @@
#include "nsString.h"
#include "plevent.h"
/**
* Concrete subclasses of nsActionEvent are used to safely convey an
@@ -342,6 +344,19 @@ protected:
nsIDocumentLoaderObserver *mDocObserver;
};
struct WebShellInitContext;
class wsDeallocateInitContextEvent : public nsActionEvent {
public:
wsDeallocateInitContextEvent(WebShellInitContext *yourInitContext);
void * handleEvent (void);
protected:
WebShellInitContext *mInitContext;
};
#endif /* nsActions_h___ */