Remove Windows Metro/WinRT code.

This commit is contained in:
Pale Moon
2017-01-02 17:15:45 +01:00
committed by roytam1
parent c589dca94b
commit 08e58e7fbb
118 changed files with 138 additions and 11281 deletions
-6
View File
@@ -326,7 +326,6 @@ bool
MouseScrollHandler::DispatchEvent(nsWindowBase* aWidget,
WidgetGUIEvent& aEvent)
{
// note, in metrofx, this will always return false for now
return aWidget->DispatchScrollEvent(&aEvent);
}
@@ -1095,11 +1094,6 @@ MouseScrollHandler::Device::GetWorkaroundPref(const char* aPrefName,
void
MouseScrollHandler::Device::Init()
{
// Not supported in metro mode.
if (XRE_GetWindowsEnvironment() == WindowsEnvironmentType_Metro) {
return;
}
sFakeScrollableWindowNeeded =
GetWorkaroundPref("ui.trackpoint_hack.enabled",
(TrackPoint::IsDriverInstalled() ||