Bug 673440 - add support for NPNVSupportsCompositingCoreAnimationPluginsBool. r=josh
This commit is contained in:
@@ -2152,18 +2152,23 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
|
||||
case NPNVsupportsCoreAnimationBool: {
|
||||
*(NPBool*)result = nsCocoaFeatures::SupportCoreAnimationPlugins();
|
||||
case NPNVsupportsCoreAnimationBool: {
|
||||
*(NPBool*)result = nsCocoaFeatures::SupportCoreAnimationPlugins();
|
||||
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
|
||||
case NPNVsupportsInvalidatingCoreAnimationBool: {
|
||||
*(NPBool*)result = nsCocoaFeatures::SupportCoreAnimationPlugins();
|
||||
case NPNVsupportsInvalidatingCoreAnimationBool: {
|
||||
*(NPBool*)result = nsCocoaFeatures::SupportCoreAnimationPlugins();
|
||||
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
|
||||
case NPNVsupportsCompositingCoreAnimationPluginsBool: {
|
||||
*(NPBool*)result = PR_TRUE;
|
||||
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
|
||||
#ifndef NP_NO_CARBON
|
||||
case NPNVsupportsCarbonBool: {
|
||||
|
||||
Reference in New Issue
Block a user