Bug 1295883 - Chase Linux scroll wheel behavior on Tier3 desktop Unix. r=smaug

MozReview-Commit-ID: 7osYJCwDQev
This commit is contained in:
Jan Beich
2016-08-17 04:55:36 +00:00
parent fff7eb9502
commit 33bbfb7476
3 changed files with 7 additions and 7 deletions

View File

@@ -3442,7 +3442,7 @@ HTMLInputElement::Focus(ErrorResult& aError)
return;
}
#if defined(XP_WIN) || defined(XP_LINUX)
#if !defined(ANDROID) && !defined(XP_MACOSX)
bool
HTMLInputElement::IsNodeApzAwareInternal() const
{
@@ -4538,7 +4538,7 @@ HTMLInputElement::PostHandleEvent(EventChainPostVisitor& aVisitor)
}
break;
}
#if defined(XP_WIN) || defined(XP_LINUX)
#if !defined(ANDROID) && !defined(XP_MACOSX)
case eWheel: {
// Handle wheel events as increasing / decreasing the input element's
// value when it's focused and it's type is number or range.
@@ -6203,7 +6203,7 @@ FireEventForAccessibility(nsIDOMHTMLInputElement* aTarget,
void
HTMLInputElement::UpdateApzAwareFlag()
{
#if defined(XP_WIN) || defined(XP_LINUX)
#if !defined(ANDROID) && !defined(XP_MACOSX)
if ((mType == NS_FORM_INPUT_NUMBER) || (mType == NS_FORM_INPUT_RANGE)) {
SetMayBeApzAware();
}