removing methods that are already implemented by the base class

This commit is contained in:
pavlov%pavlov.net 2006-02-22 01:33:37 +00:00
Родитель 51483ec31b
Коммит 08651ec4c2
2 изменённых файлов: 0 добавлений и 19 удалений

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

@ -360,21 +360,6 @@ nsThebesDeviceContext::SupportsNativeWidgets(PRBool &aSupportsWidgets)
return NS_OK;
}
NS_IMETHODIMP
nsThebesDeviceContext::GetCanonicalPixelScale(float &aScale) const
{
aScale = mPixelScale;
return NS_OK;
}
NS_IMETHODIMP
nsThebesDeviceContext::SetCanonicalPixelScale(float aScale)
{
DeviceContextImpl::SetCanonicalPixelScale(aScale);
mPixelScale = aScale;
return NS_OK;
}
NS_IMETHODIMP
nsThebesDeviceContext::GetScrollBarDimensions(float &aWidth, float &aHeight) const
{

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

@ -78,9 +78,6 @@ public:
NS_IMETHOD SupportsNativeWidgets(PRBool &aSupportsWidgets);
NS_IMETHOD PrepareNativeWidget(nsIWidget* aWidget, void** aOut);
NS_IMETHOD GetCanonicalPixelScale(float &aScale) const;
NS_IMETHOD SetCanonicalPixelScale(float aScale);
NS_IMETHOD GetScrollBarDimensions(float &aWidth, float &aHeight) const;
NS_IMETHOD GetSystemFont(nsSystemFontID aID, nsFont *aFont) const;
@ -137,7 +134,6 @@ protected:
void ComputeFullAreaUsingScreen(nsRect* outRect);
void FindScreen(nsIScreen** outScreen);
float mPixelScale;
PRUint32 mDepth;
private: