Lines Matching defs:plugin

233 bool ShouldUseJavaScriptSettingForPlugin(const WebPluginInfo& plugin) {
234 if (plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_IN_PROCESS &&
235 plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS) {
241 if (plugin.name == ASCIIToUTF16(nacl::kNaClPluginName))
247 if (plugin.name == ASCIIToUTF16(kWidevineCdmDisplayName)) {
248 DCHECK(plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS);
555 WebPlugin** plugin) {
575 if (output.plugin.type == content::WebPluginInfo::PLUGIN_TYPE_BROWSER_PLUGIN)
580 *plugin = CreatePlugin(render_frame, frame, params, output);
589 return placeholder->plugin();
616 const WebPluginInfo& plugin = output.plugin;
625 // If the browser plugin is to be enabled, this should be handled by the
641 ->plugin();
650 for (size_t i = 0; i < plugin.mime_types.size(); ++i) {
651 if (plugin.mime_types[i].mime_type == actual_mime_type) {
652 AppendParams(plugin.mime_types[i].additional_param_names,
653 plugin.mime_types[i].additional_param_values,
671 ShouldUseJavaScriptSettingForPlugin(plugin) ?
695 plugin.type == content::WebPluginInfo::PLUGIN_TYPE_NPAPI) {
710 plugin.name == ASCIIToUTF16(nacl::kNaClPluginName);
733 manifest_url = GetNaClContentHandlerURL(actual_mime_type, plugin);
761 plugin,
784 plugin,
794 return render_frame->CreatePlugin(frame, plugin, params);
803 plugin,
819 plugin,
832 plugin,
851 plugin,
863 plugin,
872 if (plugin.type != content::WebPluginInfo::PLUGIN_TYPE_NPAPI ||
889 plugin,
905 plugin,
920 plugin,
934 return placeholder->plugin();
942 const content::WebPluginInfo& plugin) {
946 for (size_t i = 0; i < plugin.mime_types.size(); ++i) {
947 if (plugin.mime_types[i].mime_type == actual_mime_type) {
948 const content::WebPluginMimeType& content_type = plugin.mime_types[i];
1443 // TODO(bbudge) remove this when the trusted NaCl plugin has been removed.
1444 // We must defer certain plugin events for NaCl instances since we switch