зеркало из https://github.com/mozilla/gecko-dev.git
Files aren't part of Mozilla build.
This commit is contained in:
Родитель
67cc4074e9
Коммит
cd4edc3846
|
@ -184,6 +184,34 @@ NS_IMETHODIMP nsOutlinerBodyFrame::RowsRemoved(PRInt32 index, PRInt32 count)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
// Painting routines
|
||||
NS_IMETHODIMP nsOutlinerBodyFrame::Paint(nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
return nsLeafBoxFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsOutlinerBodyFrame::PaintRow(int aRowIndex,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsOutlinerBodyFrame::PaintCell(int aRowIndex,
|
||||
const PRUnichar* aColID,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//
|
||||
// QueryInterface
|
||||
//
|
||||
|
|
|
@ -35,6 +35,25 @@ public:
|
|||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIOUTLINERBOXOBJECT
|
||||
|
||||
// Painting methods.
|
||||
// Paint is the generic nsIFrame paint method. We override this method
|
||||
// to paint our contents (our rows and cells).
|
||||
NS_IMETHOD Paint(nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer);
|
||||
NS_IMETHOD PaintRow(int aRowIndex,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer);
|
||||
NS_IMETHOD PaintCell(int aRowIndex,
|
||||
const PRUnichar* aColID,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer);
|
||||
|
||||
friend nsresult NS_NewOutlinerBodyFrame(nsIPresShell* aPresShell,
|
||||
nsIFrame** aNewFrame);
|
||||
|
||||
|
|
|
@ -184,6 +184,34 @@ NS_IMETHODIMP nsOutlinerBodyFrame::RowsRemoved(PRInt32 index, PRInt32 count)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
// Painting routines
|
||||
NS_IMETHODIMP nsOutlinerBodyFrame::Paint(nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
return nsLeafBoxFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsOutlinerBodyFrame::PaintRow(int aRowIndex,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsOutlinerBodyFrame::PaintCell(int aRowIndex,
|
||||
const PRUnichar* aColID,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//
|
||||
// QueryInterface
|
||||
//
|
||||
|
|
|
@ -35,6 +35,25 @@ public:
|
|||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIOUTLINERBOXOBJECT
|
||||
|
||||
// Painting methods.
|
||||
// Paint is the generic nsIFrame paint method. We override this method
|
||||
// to paint our contents (our rows and cells).
|
||||
NS_IMETHOD Paint(nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer);
|
||||
NS_IMETHOD PaintRow(int aRowIndex,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer);
|
||||
NS_IMETHOD PaintCell(int aRowIndex,
|
||||
const PRUnichar* aColID,
|
||||
nsIPresContext* aPresContext,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer);
|
||||
|
||||
friend nsresult NS_NewOutlinerBodyFrame(nsIPresShell* aPresShell,
|
||||
nsIFrame** aNewFrame);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче