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

Unified Diff: content/renderer/render_widget.cc

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 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
===================================================================
--- content/renderer/render_widget.cc (revision 212369)
+++ content/renderer/render_widget.cc (working copy)
@@ -18,6 +18,7 @@
#include "cc/base/switches.h"
#include "cc/output/output_surface.h"
#include "cc/trees/layer_tree_host.h"
+#include "content/child/npapi/webplugin.h"
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/common/input_messages.h"
#include "content/common/swapped_out_messages.h"
@@ -57,7 +58,6 @@
#include "ui/gl/gl_switches.h"
#include "ui/surface/transport_dib.h"
#include "webkit/glue/webkit_glue.h"
-#include "webkit/plugins/npapi/webplugin.h"
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
#include "webkit/renderer/compositor_bindings/web_rendering_stats_impl.h"
#include "webkit/renderer/cursor_utils.h"
@@ -2364,8 +2364,7 @@
#endif
}
-void RenderWidget::SchedulePluginMove(
- const webkit::npapi::WebPluginGeometry& move) {
+void RenderWidget::SchedulePluginMove(const WebPluginGeometry& move) {
size_t i = 0;
for (; i < plugin_window_moves_.size(); ++i) {
if (plugin_window_moves_[i].window == move.window) {

Powered by Google App Engine
This is Rietveld 408576698