Add "plugins" attribute for <webview>

This commit is contained in:
Cheng Zhao 2014-11-05 14:59:28 +08:00
parent d1724ad733
commit 80d574482e
6 changed files with 11 additions and 4 deletions

View file

@ -154,6 +154,8 @@ void AtomBrowserClient::AppendExtraCommandLineSwitches(
command_line->AppendSwitchASCII(
switches::kNodeIntegration,
info.node_integration ? "true" : "false");
if (info.plugins)
command_line->AppendSwitch(switches::kEnablePlugins);
}
}