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

Unified Diff: content/renderer/render_widget.h

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.h
===================================================================
--- content/renderer/render_widget.h (revision 212369)
+++ content/renderer/render_widget.h (working copy)
@@ -65,19 +65,16 @@
}
namespace webkit {
-namespace npapi {
-struct WebPluginGeometry;
-} // namespace npapi
-
namespace ppapi {
class PluginInstance;
} // namespace ppapi
} // namespace webkit
namespace content {
-struct GpuRenderingStats;
class RenderWidgetCompositor;
class RenderWidgetTest;
+struct GpuRenderingStats;
+struct WebPluginGeometry;
// RenderWidget provides a communication bridge between a WebWidget and
// a RenderWidgetHost, the latter of which lives in a different process.
@@ -162,7 +159,7 @@
// Called when a plugin is moved. These events are queued up and sent with
// the next paint or scroll message to the host.
- void SchedulePluginMove(const webkit::npapi::WebPluginGeometry& move);
+ void SchedulePluginMove(const WebPluginGeometry& move);
// Called when a plugin window has been destroyed, to make sure the currently
// pending moves don't try to reference it.
@@ -657,7 +654,7 @@
WebKit::WebPopupType popup_type_;
// Holds all the needed plugin window moves for a scroll.
- typedef std::vector<webkit::npapi::WebPluginGeometry> WebPluginGeometryVector;
+ typedef std::vector<WebPluginGeometry> WebPluginGeometryVector;
WebPluginGeometryVector plugin_window_moves_;
// A custom background for the widget.

Powered by Google App Engine
This is Rietveld 408576698