Bug 1595252 - Add look and feel defines for headless gtk. r=smaug

Default values taken from my Ubuntu desktop.

Differential Revision: https://phabricator.services.mozilla.com/D52437

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Brendan Dahl 2019-11-11 11:04:31 +00:00
parent d1ae9bf1e6
commit 4c40b6b72a

View File

@ -287,6 +287,18 @@ nsresult HeadlessLookAndFeel::GetIntImpl(IntID aID, int32_t& aResult) {
case eIntID_GTKCSDReversedPlacement:
aResult = 0;
break;
case eIntID_SystemUsesDarkTheme:
aResult = 0;
break;
case eIntID_PrefersReducedMotion:
aResult = 0;
break;
case eIntID_PrimaryPointerCapabilities:
aResult = 0;
break;
case eIntID_AllPointerCapabilities:
aResult = 0;
break;
default:
NS_WARNING(
"HeadlessLookAndFeel::GetIntImpl called with an unrecognized aID");