remove GetNativeData since it isn't used r=shaver (for the entire checkin)

git-svn-id: svn://10.0.0.236/trunk@49555 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com 1999-10-01 08:33:41 +00:00
parent 168a17ea8b
commit 7f3fe63a8b
6 changed files with 0 additions and 47 deletions

View File

@ -396,21 +396,6 @@ NS_IMETHODIMP nsAppShell::Exit()
return NS_OK;
}
//-------------------------------------------------------------------------
//
// GetNativeData
//
//-------------------------------------------------------------------------
void* nsAppShell::GetNativeData(PRUint32 aDataType)
{
if (aDataType == NS_NATIVE_SHELL) {
// this isn't accually used, but if it was, we need to gtk_widget_ref() it.
// return mTopLevel;
}
return nsnull;
}
NS_IMETHODIMP nsAppShell::GetNativeEvent(PRBool &aRealEvent, void *& aEvent)
{
GdkEvent *event;

View File

@ -51,7 +51,6 @@ public:
nsIWidget *aWidget, PRBool *aForWindow);
NS_IMETHOD Exit();
NS_IMETHOD SetDispatchListener(nsDispatchListener* aDispatchListener);
virtual void* GetNativeData(PRUint32 aDataType);
private:
nsDispatchListener *mDispatchListener;

View File

@ -217,20 +217,6 @@ NS_METHOD nsAppShell::PopThreadEventQueue()
return rv;
}
//-------------------------------------------------------------------------
//
// GetNativeData
//
//-------------------------------------------------------------------------
void* nsAppShell::GetNativeData(PRUint32 aDataType)
{
if (aDataType == NS_NATIVE_SHELL)
{
//return mTopLevel;
}
return nsnull;
}
NS_METHOD
nsAppShell::GetNativeEvent(PRBool &aRealEvent, void *&aEvent)
{

View File

@ -68,8 +68,6 @@ class nsAppShell : public nsIAppShell
NS_IMETHOD Exit();
NS_IMETHOD SetDispatchListener(nsDispatchListener* aDispatchListener);
virtual void* GetNativeData(PRUint32 aDataType);
NS_IMETHOD GetNativeEvent(PRBool &aRealEvent, void *&aEvent);
NS_IMETHOD DispatchNativeEvent(PRBool aRealEvent, void *aEvent);
NS_IMETHOD EventIsForModalWindow(PRBool aRealEvent, void *aEvent, nsIWidget *aWidget,

View File

@ -227,17 +227,3 @@ nsAppShell::~nsAppShell()
{
}
//-------------------------------------------------------------------------
//
// GetNativeData
//
//-------------------------------------------------------------------------
void* nsAppShell::GetNativeData(PRUint32 aDataType)
{
if (aDataType == NS_NATIVE_SHELL) {
return NULL;
}
return nsnull;
}

View File

@ -50,7 +50,6 @@ class nsAppShell : public nsIAppShell
NS_IMETHOD SetDispatchListener(nsDispatchListener* aDispatchListener);
NS_IMETHOD Exit();
virtual void * GetNativeData(PRUint32 aDataType);
private:
nsDispatchListener* mDispatchListener;