截断加载plugin的具体位置
来源:互联网 发布:进销存软件免费下载 编辑:程序博客网 时间:2024/04/27 15:07
bool SubframeLoader::requestPlugin(HTMLPlugInImageElement* ownerElement, const KURL& url, const String& mimeType, const Vector<String>& paramNames, const Vector<String>& paramValues, bool useFallback)
{
Settings* settings = m_frame->settings();
if ((!allowPlugins(AboutToInstantiatePlugin)
// Application plug-ins are plug-ins implemented by the user agent, for example Qt plug-ins,
// as opposed to third-party code such as Flash. The user agent decides whether or not they are
// permitted, rather than WebKit.
&& !MIMETypeRegistry::isApplicationPluginMIMEType(mimeType))
|| (!settings->isJavaEnabled() && MIMETypeRegistry::isJavaAppletMIMEType(mimeType)))
return false;
if (m_frame->document()) {
if (m_frame->document()->securityOrigin()->isSandboxed(SandboxPlugins))
return false;
if (!m_frame->document()->contentSecurityPolicy()->allowObjectFromSource(url))
return false;
}
ASSERT(ownerElement->hasTagName(objectTag) || ownerElement->hasTagName(embedTag));
return loadPlugin(ownerElement, url, mimeType, paramNames, paramValues, useFallback);
}
{
Settings* settings = m_frame->settings();
if ((!allowPlugins(AboutToInstantiatePlugin)
// Application plug-ins are plug-ins implemented by the user agent, for example Qt plug-ins,
// as opposed to third-party code such as Flash. The user agent decides whether or not they are
// permitted, rather than WebKit.
&& !MIMETypeRegistry::isApplicationPluginMIMEType(mimeType))
|| (!settings->isJavaEnabled() && MIMETypeRegistry::isJavaAppletMIMEType(mimeType)))
return false;
if (m_frame->document()) {
if (m_frame->document()->securityOrigin()->isSandboxed(SandboxPlugins))
return false;
if (!m_frame->document()->contentSecurityPolicy()->allowObjectFromSource(url))
return false;
}
ASSERT(ownerElement->hasTagName(objectTag) || ownerElement->hasTagName(embedTag));
return loadPlugin(ownerElement, url, mimeType, paramNames, paramValues, useFallback);
}
android 4.0.1 下的
loader/SubframeLoader.cpp
里面
- 截断加载plugin的具体位置
- 查看进程的具体位置
- 很多电子书下载的具体位置
- 注册表启动项的具体位置
- 用Struts Plugin 加载Hibernate的SessionFactory
- Qt plugin 的创建和动态加载
- 获取标签的具体位置的函数
- Solaris安装软件需要libgcc的具体位置
- 用Javascript获取页面元素的具体位置
- linux内核中默认logo的具体位置
- TextView 中确定 ClickableSpan 的具体位置
- 用Javascript获取页面元素的具体位置
- DoJo Tree第一次加载选中行的背景色被截断?
- 截断超出的内容
- 数据的截断
- 截断edittext的焦点
- <jsp: plugin> 加载Applet
- Plugin动态加载Extension,达到plugin.xml中配置的效果
- Cognos安装与配置(使用自带的数据库derby+服务器Tomcat)
- 以登陆用户启动进程
- mars老师[Android开发视频教学] 01_22 广播机制(2)
- android的init过程分析
- Zend studio 9.0.3 破解,汉化,字体,颜色,快捷键等相关设置
- 截断加载plugin的具体位置
- C/C++/VC++/mfc对注册表的操作
- 卸载android system/app 目录下文件的应用程序
- test table
- oracle : shared memory realm does not exist 故障解决
- scrapy结合webkit抓取js生成的页面
- VB Hook简介
- C++内存管理
- 责任链模式