Logo Search packages:      
Sourcecode: xulrunner version File versions

PRBool nsObjectLoadingContent::ShouldShowDefaultPlugin ( nsIContent aContent,
const nsCString &  aContentType 
) [static, private]

Whether to treat this content as a plugin, even though we can't handle the type. This function impl should match the checks in the plugin host. aContentType is the MIME type we ended up with.

Definition at line 1753 of file nsObjectLoadingContent.cpp.

References GetPluginSupportState().

  if (nsContentUtils::GetBoolPref("plugin.default_plugin_disabled", PR_FALSE)) {
    return PR_FALSE;

  return GetPluginSupportState(aContent, aContentType) == ePluginUnsupported;

Generated by  Doxygen 1.6.0   Back to index