| 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 69d35f22a1b99d1d39d5e33ebb7e30ee014782d2..2b86d8915eaafb5945dca430b53698d726c991fd 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 Widget;
|
|
|
| enum PreferPlugInsForImagesOption {
|
| ShouldPreferPlugInsForImages,
|
| @@ -50,7 +50,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
|
| // TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall
|
| // and HTMLObjectElementLegacyCall usage is extremely low.
|
| SharedPersistent<v8::Object>* pluginWrapper();
|
| - Widget* pluginWidget() const;
|
| + FrameViewBase* pluginWidget() const;
|
| bool canProcessDrag() const;
|
| const String& url() const { return m_url; }
|
|
|
| @@ -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(Widget*);
|
| + void setPersistedPluginWidget(FrameViewBase*);
|
|
|
| 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<Widget> m_persistedPluginWidget;
|
| + Member<FrameViewBase> m_persistedPluginWidget;
|
| };
|
|
|
| inline bool isHTMLPlugInElement(const HTMLElement& element) {
|
|
|