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

Unified Diff: content/renderer/render_widget.h

Issue 1815593002: Remove windowed NPAPI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_test_plugin_windowless
Patch Set: rebase Created 4 years, 9 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/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 5890cd88af983dc6f7230b5f26a698ee87d26c5d..0acb90128a2f7ae9a5f5c61e8f59a569b13fac20 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -93,7 +93,6 @@ class ResizingModeSelector;
struct ContextMenuParams;
struct DidOverscrollParams;
struct ResizeParams;
-struct WebPluginGeometry;
// RenderWidget provides a communication bridge between a WebWidget and
// a RenderWidgetHost, the latter of which lives in a different process.
@@ -286,14 +285,6 @@ class CONTENT_EXPORT RenderWidget
// Stop compositing.
void WillCloseLayerTreeView();
- // 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 WebPluginGeometry& move);
-
- // Called when a plugin window has been destroyed, to make sure the currently
- // pending moves don't try to reference it.
- void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window);
-
RenderWidgetCompositor* compositor() const;
const RenderWidgetInputHandler& input_handler() const {
@@ -708,10 +699,6 @@ class CONTENT_EXPORT RenderWidget
// The kind of popup this widget represents, NONE if not a popup.
blink::WebPopupType popup_type_;
- // Holds all the needed plugin window moves for a scroll.
- typedef std::vector<WebPluginGeometry> WebPluginGeometryVector;
- WebPluginGeometryVector plugin_window_moves_;
-
// While we are waiting for the browser to update window sizes, we track the
// pending size temporarily.
int pending_window_rect_count_;
« no previous file with comments | « content/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698