mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-07 08:59:08 +00:00
Remove Windows Metro/WinRT code.
This commit is contained in:
@@ -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() ||
|
||||
|
||||
Reference in New Issue
Block a user