Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug

This commit is contained in:
Masayuki Nakano 2012-08-13 21:11:20 +09:00
parent 2375e73812
commit e9bd3792e3

View File

@ -332,7 +332,6 @@ public:
static DeltaValues AccelerateWheelDelta(widget::WheelEvent* aEvent,
bool aAllowScrollSpeedOverride);
static bool IsAccelerationEnabled();
enum {
kScrollSeriesTimeout = 80
@ -588,12 +587,6 @@ nsMouseWheelTransaction::GetIgnoreMoveDelayTime()
return Preferences::GetUint("mousewheel.transaction.ignoremovedelay", 100);
}
bool
nsMouseWheelTransaction::IsAccelerationEnabled()
{
return GetAccelerationStart() >= 0 && GetAccelerationFactor() > 0;
}
DeltaValues
nsMouseWheelTransaction::AccelerateWheelDelta(widget::WheelEvent* aEvent,
bool aAllowScrollSpeedOverride)