mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-29 17:40:42 +00:00
Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug
This commit is contained in:
parent
2375e73812
commit
e9bd3792e3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user