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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 1815593002: Remove windowed NPAPI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_test_plugin_windowless
Patch Set: fix compile 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
Index: content/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 1cace30a162137c4f2b016d0ba5892fbc13051db..abae91159e73c7efc96fb4af359075d5b4852907 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -255,11 +255,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// helps to position the full screen widget on the correct monitor.
virtual void InitAsFullscreen(RenderWidgetHostView* reference_host_view) = 0;
- // Moves all plugin windows as described in the given list.
- // |scroll_offset| is the scroll offset of the render view.
- virtual void MovePluginWindows(
- const std::vector<WebPluginGeometry>& moves) = 0;
-
// Sets the cursor to the one associated with the specified cursor_type
virtual void UpdateCursor(const WebCursor& cursor) = 0;
@@ -387,10 +382,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// Returns an HWND that's given as the parent window for windowless Flash to
// workaround crbug.com/301548.
virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0;
-
- // The callback that DetachPluginsHelper calls for each child window. Call
- // this directly if you want to do custom filtering on plugin windows first.
- static void DetachPluginWindowsCallback(HWND window);
#endif
// Add and remove observers for lifetime event notifications. The order in
@@ -408,21 +399,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
void NotifyObserversAboutShutdown();
-#if defined(OS_WIN)
- // Shared implementation of MovePluginWindows for use by win and aura/wina.
- static void MovePluginWindowsHelper(
- HWND parent,
- const std::vector<WebPluginGeometry>& moves);
-
- static void PaintPluginWindowsHelper(
- HWND parent,
- const gfx::Rect& damaged_screen_rect);
-
- // Needs to be called before the HWND backing the view goes away to avoid
- // crashes in Windowed plugins.
- static void DetachPluginsHelper(HWND parent);
-#endif
-
// Whether this view is a popup and what kind of popup it is (select,
// autofill...).
blink::WebPopupType popup_type_;

Powered by Google App Engine
This is Rietveld 408576698