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

Unified Diff: content/renderer/render_widget.cc

Issue 10442102: Add infrastructure to instantiate a helper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 6 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
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 3449f3e569f3d305794f969353f32413c74d7a0b..78a0ae81dba7837dc029d024efa727794f659c20 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -23,6 +23,7 @@
#include "ipc/ipc_sync_message.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebHelperPlugin.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPagePopup.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h"
@@ -150,6 +151,8 @@ WebWidget* RenderWidget::CreateWebWidget(RenderWidget* render_widget) {
return WebPopupMenu::create(render_widget);
case WebKit::WebPopupTypePage:
return WebPagePopup::create(render_widget);
+ case WebKit::WebPopupTypeHelperPlugin:
jamesr 2012/06/22 18:46:42 how is this case different from a full-page plugin
ddorwin 2012/06/22 19:39:19 This is an off-screen page that instantiates a spe
+ return WebKit::WebHelperPlugin::create(render_widget);
default:
NOTREACHED();
}
« content/renderer/render_view_impl.h ('K') | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698