Bug 1151318: Add quirks flag to help Unity plugin release mouse capture; r=jimm

This commit is contained in:
Aaron Klotz
2015-05-20 13:13:16 -06:00
parent 4d10b1b89e
commit a04a6e21bb
6 changed files with 164 additions and 1 deletions

View File

@@ -2153,6 +2153,12 @@ PluginModuleChild::InitQuirksModes(const nsCString& aMimeType)
mQuirks |= QUIRK_ALLOW_OFFLINE_RENDERER;
}
#endif
#ifdef OS_WIN
if (specialType == nsPluginHost::eSpecialType_Unity) {
mQuirks |= QUIRK_UNITY_FIXUP_MOUSE_CAPTURE;
}
#endif
}
bool