Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: content/shell/shell_content_renderer_client.cc

Issue 7977014: Make plugins work in content_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_shell.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_renderer_client.cc
===================================================================
--- content/shell/shell_content_renderer_client.cc (revision 101416)
+++ content/shell/shell_content_renderer_client.cc (working copy)
@@ -4,6 +4,7 @@
#include "content/shell/shell_content_renderer_client.h"
+#include "content/renderer/render_view.h"
#include "v8/include/v8.h"
namespace content {
@@ -32,7 +33,7 @@
RenderView* render_view,
WebKit::WebFrame* frame,
const WebKit::WebPluginParams& params) {
- return NULL;
+ return render_view->CreatePluginNoCheck(frame, params);
}
void ShellContentRendererClient::ShowErrorPage(RenderView* render_view,
« no previous file with comments | « content/content_shell.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698