base implementation of new method GetScreenBounds. part of bug 5998. r:pierre.
git-svn-id: svn://10.0.0.236/trunk@56923 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -554,6 +554,15 @@ NS_METHOD nsBaseWidget::GetBounds(nsRect &aRect)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* If the implementation of nsWindow uses a local coordinate system within the window,
|
||||
* this method must be overridden
|
||||
*
|
||||
**/
|
||||
NS_METHOD nsBaseWidget::GetScreenBounds(nsRect &aRect)
|
||||
{
|
||||
return GetBounds(aRect);
|
||||
}
|
||||
|
||||
/**
|
||||
* If the implementation of nsWindow supports borders this method MUST be overridden
|
||||
|
||||
@@ -91,6 +91,7 @@ public:
|
||||
NS_IMETHOD GetBounds(nsRect &aRect);
|
||||
NS_IMETHOD GetBoundsAppUnits(nsRect &aRect, float aAppUnits);
|
||||
NS_IMETHOD GetClientBounds(nsRect &aRect);
|
||||
NS_IMETHOD GetScreenBounds(nsRect &aRect);
|
||||
NS_IMETHOD GetBorderSize(PRInt32 &aWidth, PRInt32 &aHeight);
|
||||
NS_IMETHOD Paint(nsIRenderingContext& aRenderingContext, const nsRect& aDirtyRect);
|
||||
NS_IMETHOD ScrollRect(nsRect &aRect, PRInt32 aDx, PRInt32 aDy);
|
||||
|
||||
Reference in New Issue
Block a user