mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 22:29:07 +00:00
Presentation shell is no longer a subclass of nsIDocumentObserver (the implementation still is however, it's just not publicized)
This commit is contained in:
parent
c9660cdcf8
commit
41b1731f72
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user