Missed part of checkin by jaggernaut%netscape.com: Bug 203167: Clean up nsDeckFrame a little. r=peterv, sr=bryner

This commit is contained in:
dbaron%dbaron.org 2003-05-24 04:10:40 +00:00
Родитель 01eb2b316f
Коммит 178d947d10
1 изменённых файлов: 15 добавлений и 34 удалений

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

@ -52,16 +52,16 @@ class nsDeckFrame : public nsBoxFrame
{ {
public: public:
friend nsresult NS_NewDeckFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame, nsIBoxLayout* aLayoutManager); friend nsresult NS_NewDeckFrame(nsIPresShell* aPresShell,
nsIFrame** aNewFrame,
nsIBoxLayout* aLayoutManager);
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext, NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild, nsIContent* aChild,
PRInt32 aNameSpaceID, PRInt32 aNameSpaceID,
nsIAtom* aAttribute, nsIAtom* aAttribute,
PRInt32 aModType, PRInt32 aModType,
PRInt32 aHint); PRInt32 aHint);
NS_IMETHOD DoLayout(nsBoxLayoutState& aState); NS_IMETHOD DoLayout(nsBoxLayoutState& aState);
@ -72,31 +72,16 @@ public:
PRUint32 aFlags = 0); PRUint32 aFlags = 0);
NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext, NS_IMETHOD GetFrameForPoint(nsIPresContext* aPresContext,
const nsPoint& aPoint, const nsPoint& aPoint,
nsFramePaintLayer aWhichLayer, nsFramePaintLayer aWhichLayer,
nsIFrame** aFrame); nsIFrame** aFrame);
NS_IMETHOD SetInitialChildList(nsIPresContext* aPresContext,
nsIAtom* aListName,
nsIFrame* aChildList);
NS_IMETHOD AppendFrames(nsIPresContext* aPresContext,
nsIPresShell& aPresShell,
nsIAtom* aListName,
nsIFrame* aFrameList);
NS_IMETHOD InsertFrames(nsIPresContext* aPresContext,
nsIPresShell& aPresShell,
nsIAtom* aListName,
nsIFrame* aPrevFrame,
nsIFrame* aFrameList);
NS_IMETHOD Init(nsIPresContext* aPresContext, NS_IMETHOD Init(nsIPresContext* aPresContext,
nsIContent* aContent, nsIContent* aContent,
nsIFrame* aParent, nsIFrame* aParent,
nsStyleContext* aContext, nsStyleContext* aContext,
nsIFrame* aPrevInFlow); nsIFrame* aPrevInFlow);
NS_IMETHOD ChildrenMustHaveWidgets(PRBool& aMust); NS_IMETHOD ChildrenMustHaveWidgets(PRBool& aMust);
@ -118,8 +103,6 @@ protected:
virtual PRInt32 GetSelectedIndex(); virtual PRInt32 GetSelectedIndex();
virtual void HideBox(nsIPresContext* aPresContext, nsIBox* aBox); virtual void HideBox(nsIPresContext* aPresContext, nsIBox* aBox);
virtual void ShowBox(nsIPresContext* aPresContext, nsIBox* aBox); virtual void ShowBox(nsIPresContext* aPresContext, nsIBox* aBox);
virtual nsresult CreateWidget(nsIPresContext* aPresContext, nsIBox* aBox);
virtual nsresult CreateWidgets(nsIPresContext* aPresContext);
private: private:
@ -127,7 +110,5 @@ private:
}; // class nsDeckFrame }; // class nsDeckFrame
#endif #endif