зеркало из https://github.com/mozilla/gecko-dev.git
removing methods that are already implemented by the base class
This commit is contained in:
Родитель
51483ec31b
Коммит
08651ec4c2
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче