From f03937e013549de77180a715794ed79876688a85 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Thu, 24 Sep 1998 21:39:29 +0000 Subject: [PATCH] changed frame remove methods --- content/base/public/nsIDocumentObserver.h | 25 ++++------------------- layout/base/public/nsIDocumentObserver.h | 25 ++++------------------- 2 files changed, 8 insertions(+), 42 deletions(-) diff --git a/content/base/public/nsIDocumentObserver.h b/content/base/public/nsIDocumentObserver.h index 2e09a670995..8f6cb8c6976 100644 --- a/content/base/public/nsIDocumentObserver.h +++ b/content/base/public/nsIDocumentObserver.h @@ -156,23 +156,6 @@ public: nsIContent* aNewChild, PRInt32 aIndexInContainer) = 0; - /** - * Content is going to be removed immediately after this call. This - * method is called automatically by content container objects when a - * content object is about to be removed from the container (therefore - * there is normally no need to invoke this method directly). The - * notification is passed on to all of the document observers. - * - * @param aDocument The document being observed - * @param aContainer the container that contains aChild - * @param aChild the child that will be removed - * @param aIndexInContainer the index of the child in the container - */ - NS_IMETHOD ContentWillBeRemoved(nsIDocument *aDocument, - nsIContent* aContainer, - nsIContent* aChild, - PRInt32 aIndexInContainer) = 0; - /** * Content has just been removed. This method is called automatically * by content container objects when a content object has just been @@ -186,10 +169,10 @@ public: * @param aIndexInContainer the index of the child in the container * before it was removed */ - NS_IMETHOD ContentHasBeenRemoved(nsIDocument *aDocument, - nsIContent* aContainer, - nsIContent* aChild, - PRInt32 aIndexInContainer) = 0; + NS_IMETHOD ContentRemoved(nsIDocument *aDocument, + nsIContent* aContainer, + nsIContent* aChild, + PRInt32 aIndexInContainer) = 0; /** * A StyleSheet has just been added to the document. diff --git a/layout/base/public/nsIDocumentObserver.h b/layout/base/public/nsIDocumentObserver.h index 2e09a670995..8f6cb8c6976 100644 --- a/layout/base/public/nsIDocumentObserver.h +++ b/layout/base/public/nsIDocumentObserver.h @@ -156,23 +156,6 @@ public: nsIContent* aNewChild, PRInt32 aIndexInContainer) = 0; - /** - * Content is going to be removed immediately after this call. This - * method is called automatically by content container objects when a - * content object is about to be removed from the container (therefore - * there is normally no need to invoke this method directly). The - * notification is passed on to all of the document observers. - * - * @param aDocument The document being observed - * @param aContainer the container that contains aChild - * @param aChild the child that will be removed - * @param aIndexInContainer the index of the child in the container - */ - NS_IMETHOD ContentWillBeRemoved(nsIDocument *aDocument, - nsIContent* aContainer, - nsIContent* aChild, - PRInt32 aIndexInContainer) = 0; - /** * Content has just been removed. This method is called automatically * by content container objects when a content object has just been @@ -186,10 +169,10 @@ public: * @param aIndexInContainer the index of the child in the container * before it was removed */ - NS_IMETHOD ContentHasBeenRemoved(nsIDocument *aDocument, - nsIContent* aContainer, - nsIContent* aChild, - PRInt32 aIndexInContainer) = 0; + NS_IMETHOD ContentRemoved(nsIDocument *aDocument, + nsIContent* aContainer, + nsIContent* aChild, + PRInt32 aIndexInContainer) = 0; /** * A StyleSheet has just been added to the document.