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 b88a672e16ba1d65cfa2d9ce7bcbf30d45102f9a..8358ed69f9f1a6b065e92b274ab385ec9f8f5cad 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h |
@@ -35,6 +35,7 @@ namespace blink { |
class HTMLImageLoader; |
class LayoutPart; |
class LayoutEmbeddedItem; |
+class PluginClient; |
class Widget; |
enum PreferPlugInsForImagesOption { |
@@ -145,6 +146,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement { |
virtual LayoutPart* existingLayoutPart() const = 0; |
virtual void updateWidgetInternal() = 0; |
+ bool loadFrame(const KURL& resourceUrl); |
bool loadPlugin(const KURL&, |
const String& mimeType, |
const Vector<String>& paramNames, |
@@ -179,6 +181,11 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement { |
// means the frame is active, we save off m_widget here while |
// the plugin is persisting but not being displayed. |
Member<Widget> m_persistedPluginWidget; |
+ |
+ // The plugin might have a client instead of a plugin widget. This relates to |
+ // the cases were the plugin is implemented using frames rather than plugin |
+ // views and WebPlugins. |
+ Member<PluginClient> m_pluginClient; |
}; |
inline bool isHTMLPlugInElement(const HTMLElement& element) { |