attempt to fix Camino bustage from bug 230840

This commit is contained in:
hpradhan%hotpop.com 2004-01-24 13:04:10 +00:00
Родитель 4ff5ffa099
Коммит da434eac04
1 изменённых файлов: 9 добавлений и 19 удалений

Просмотреть файл

@ -722,25 +722,22 @@ NS_IMPL_NSIDOCUMENTOBSERVER_REFLOW_STUB(nsMenuBarX)
NS_IMPL_NSIDOCUMENTOBSERVER_STATE_STUB(nsMenuBarX)
NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(nsMenuBarX)
NS_IMETHODIMP
void
nsMenuBarX::BeginUpdate( nsIDocument * aDocument, nsUpdateType aUpdateType )
{
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::EndUpdate( nsIDocument * aDocument, nsUpdateType aUpdateType )
{
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::ContentChanged( nsIDocument * aDocument, nsIContent * aContent, nsISupports * aSubContent)
{
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::ContentAppended( nsIDocument * aDocument, nsIContent * aContainer,
PRInt32 aNewIndexInContainer)
{
@ -762,25 +759,22 @@ nsMenuBarX::ContentAppended( nsIDocument * aDocument, nsIContent * aContainer,
}
}
}
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::ContentReplaced( nsIDocument * aDocument, nsIContent * aContainer, nsIContent * aOldChild,
nsIContent * aNewChild, PRInt32 aIndexInContainer)
{
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::DocumentWillBeDestroyed( nsIDocument * aDocument )
{
mDocument = nsnull;
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::AttributeChanged( nsIDocument * aDocument, nsIContent * aContent, PRInt32 aNameSpaceID,
nsIAtom * aAttribute, PRInt32 aModType)
{
@ -789,11 +783,9 @@ nsMenuBarX::AttributeChanged( nsIDocument * aDocument, nsIContent * aContent, PR
Lookup ( aContent, getter_AddRefs(obs) );
if ( obs )
obs->AttributeChanged ( aDocument, aNameSpaceID, aAttribute );
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::ContentRemoved( nsIDocument * aDocument, nsIContent * aContainer,
nsIContent * aChild, PRInt32 aIndexInContainer )
{
@ -815,10 +807,9 @@ nsMenuBarX::ContentRemoved( nsIDocument * aDocument, nsIContent * aContainer,
}
}
}
return NS_OK;
}
NS_IMETHODIMP
void
nsMenuBarX::ContentInserted( nsIDocument * aDocument, nsIContent * aContainer,
nsIContent * aChild, PRInt32 aIndexInContainer )
{
@ -840,7 +831,6 @@ nsMenuBarX::ContentInserted( nsIDocument * aDocument, nsIContent * aContainer,
}
}
}
return NS_OK;
}
#pragma mark -