Presentation shell is no longer a subclass of nsIDocumentObserver (the implementation still is however, it's just not publicized)

This commit is contained in:
kipp 1998-06-03 15:41:39 +00:00
Родитель c9660cdcf8
Коммит 41b1731f72
2 изменённых файлов: 14 добавлений и 12 удалений

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

@ -19,10 +19,11 @@
#define nsIPresShell_h___
#include "nslayout.h"
#include "nsIDocumentObserver.h"
#include "nsISupports.h"
#include "nsCoord.h"
class nsIContent;
class nsIDocument;
class nsIDocumentObserver;
class nsIFrame;
class nsIPresContext;
class nsIStyleSet;
@ -44,12 +45,12 @@ class nsReflowCommand;
* presentation context, the style manager, the style set and the root
* frame.
*/
class nsIPresShell : public nsIDocumentObserver {
class nsIPresShell : public nsISupports {
public:
virtual nsresult Init(nsIDocument* aDocument,
nsIPresContext* aPresContext,
nsIViewManager* aViewManager,
nsIStyleSet* aStyleSet) = 0;
NS_IMETHOD Init(nsIDocument* aDocument,
nsIPresContext* aPresContext,
nsIViewManager* aViewManager,
nsIStyleSet* aStyleSet) = 0;
virtual nsIDocument* GetDocument() = 0;

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

@ -19,10 +19,11 @@
#define nsIPresShell_h___
#include "nslayout.h"
#include "nsIDocumentObserver.h"
#include "nsISupports.h"
#include "nsCoord.h"
class nsIContent;
class nsIDocument;
class nsIDocumentObserver;
class nsIFrame;
class nsIPresContext;
class nsIStyleSet;
@ -44,12 +45,12 @@ class nsReflowCommand;
* presentation context, the style manager, the style set and the root
* frame.
*/
class nsIPresShell : public nsIDocumentObserver {
class nsIPresShell : public nsISupports {
public:
virtual nsresult Init(nsIDocument* aDocument,
nsIPresContext* aPresContext,
nsIViewManager* aViewManager,
nsIStyleSet* aStyleSet) = 0;
NS_IMETHOD Init(nsIDocument* aDocument,
nsIPresContext* aPresContext,
nsIViewManager* aViewManager,
nsIStyleSet* aStyleSet) = 0;
virtual nsIDocument* GetDocument() = 0;