mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 520176: Add touch-enabled support for Hildon, r=roc
This commit is contained in:
parent
8de950cafb
commit
97a66d45d1
@ -572,10 +572,18 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric)
|
||||
case eMetric_DWMCompositor:
|
||||
case eMetric_WindowsClassic:
|
||||
case eMetric_WindowsDefaultTheme:
|
||||
case eMetric_TouchEnabled:
|
||||
aMetric = 0;
|
||||
res = NS_ERROR_NOT_IMPLEMENTED;
|
||||
break;
|
||||
case eMetric_TouchEnabled:
|
||||
#ifdef MOZ_PLATFORM_HILDON
|
||||
// All Hildon devices are touch-enabled
|
||||
aMetric = 1;
|
||||
#else
|
||||
aMetric = 0;
|
||||
res = NS_ERROR_NOT_IMPLEMENTED;
|
||||
#endif
|
||||
break;
|
||||
case eMetric_MacGraphiteTheme:
|
||||
aMetric = 0;
|
||||
res = NS_ERROR_NOT_IMPLEMENTED;
|
||||
|
Loading…
Reference in New Issue
Block a user