summaryrefslogtreecommitdiff
path: root/Source/WebCore/plugins/PluginView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/plugins/PluginView.h')
-rw-r--r--Source/WebCore/plugins/PluginView.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/WebCore/plugins/PluginView.h b/Source/WebCore/plugins/PluginView.h
index 1128522d0..aaf87c104 100644
--- a/Source/WebCore/plugins/PluginView.h
+++ b/Source/WebCore/plugins/PluginView.h
@@ -84,9 +84,9 @@ namespace JSC {
#endif
namespace WebCore {
- class Element;
class Frame;
class Image;
+ class HTMLPlugInElement;
class KeyboardEvent;
class MouseEvent;
class KURL;
@@ -141,7 +141,7 @@ namespace WebCore {
, public PluginManualLoader
, private MediaCanStartListener {
public:
- static PassRefPtr<PluginView> create(Frame* parentFrame, const IntSize&, Element*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually);
+ static PassRefPtr<PluginView> create(Frame* parentFrame, const IntSize&, HTMLPlugInElement*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually);
virtual ~PluginView();
PluginPackage* plugin() const { return m_plugin.get(); }
@@ -265,7 +265,7 @@ namespace WebCore {
#endif
private:
- PluginView(Frame* parentFrame, const IntSize&, PluginPackage*, Element*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually);
+ PluginView(Frame* parentFrame, const IntSize&, PluginPackage*, HTMLPlugInElement*, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually);
void setParameters(const Vector<String>& paramNames, const Vector<String>& paramValues);
bool startOrAddToUnstartedList();
@@ -299,7 +299,7 @@ namespace WebCore {
RefPtr<Frame> m_parentFrame;
RefPtr<PluginPackage> m_plugin;
- Element* m_element;
+ HTMLPlugInElement* m_element;
bool m_isStarted;
KURL m_url;
PluginStatus m_status;
@@ -426,6 +426,7 @@ private:
static bool s_isRunningUnderDRT;
static void setXKeyEventSpecificFields(XEvent*, KeyboardEvent*);
void paintUsingXPixmap(QPainter* painter, const QRect &exposedRect);
+ QWebPageClient* platformPageClient() const;
#endif
#if USE(ACCELERATED_COMPOSITING_PLUGIN_LAYER)
OwnPtr<PlatformLayer> m_platformLayer;