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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.h

Issue 2759063002: Remove most of Widget (FrameViewBase) class from HTMLPlugInElement. (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/html/HTMLPlugInElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
index 532340b3fecf33056b7f8bb7ff05de4cd3233f09..6b6d460b3a465b49efb7d4530f0f08c0b6a1bfeb 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
@@ -31,10 +31,10 @@
namespace blink {
-class FrameViewBase;
class HTMLImageLoader;
class LayoutPart;
class LayoutEmbeddedItem;
+class PluginView;
enum PreferPlugInsForImagesOption {
ShouldPreferPlugInsForImages,
@@ -157,7 +157,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
bool allowedToLoadObject(const KURL&, const String& mimeType);
bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType);
- void setPersistedPluginWidget(FrameViewBase*);
+ void setPersistedPlugin(PluginView*);
bool requestObjectInternal(const String& url,
const String& mimeType,
@@ -177,7 +177,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
// prevent confusing code which may assume that widget() != null
// means the frame is active, we save off m_widget here while
// the plugin is persisting but not being displayed.
- Member<FrameViewBase> m_persistedPluginWidget;
+ Member<PluginView> m_persistedPlugin;
};
inline bool isHTMLPlugInElement(const HTMLElement& element) {

Powered by Google App Engine
This is Rietveld 408576698