Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.

This commit is contained in:
bryner@brianryner.com
2004-01-07 22:30:53 +00:00
parent 01ca50a3fb
commit a90ec6ff21
128 changed files with 2387 additions and 4776 deletions

View File

@@ -46,7 +46,7 @@ class nsPrintObject;
class nsISelection;
class nsIPresShell;
class nsIDocument;
class nsIStyleSet;
class nsStyleSet;
class nsIContent;
class nsIWebShell;
@@ -72,7 +72,7 @@ public:
virtual PRBool GetIsCreatingPrintPreview() = 0;
virtual nsresult CreateStyleSet(nsIDocument* aDocument, nsIStyleSet** aStyleSet) = 0;
virtual nsresult CreateStyleSet(nsIDocument* aDocument, nsStyleSet** aStyleSet) = 0;
virtual nsresult GetDocumentSelection(nsISelection **aSelection,
nsIPresShell * aPresShell = nsnull) = 0;
@@ -97,7 +97,7 @@ public:
virtual void SetIsPrintPreview(PRBool aIsPrintPreview); \
virtual PRBool GetIsPrintPreview(); \
virtual PRBool GetIsCreatingPrintPreview(); \
virtual nsresult CreateStyleSet(nsIDocument* aDocument, nsIStyleSet** aStyleSet); \
virtual nsresult CreateStyleSet(nsIDocument* aDocument, nsStyleSet** aStyleSet); \
virtual nsresult GetDocumentSelection(nsISelection **aSelection, nsIPresShell * aPresShell = nsnull); \
virtual void IncrementDestroyRefCount(); \
virtual void ReturnToGalleyPresentation(); \