summaryrefslogtreecommitdiff
path: root/src/3rdparty/webkit/WebCore/html/HTMLVideoElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/html/HTMLVideoElement.h')
-rw-r--r--src/3rdparty/webkit/WebCore/html/HTMLVideoElement.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/html/HTMLVideoElement.h b/src/3rdparty/webkit/WebCore/html/HTMLVideoElement.h
index 8779c85d1e..d35f3f8bec 100644
--- a/src/3rdparty/webkit/WebCore/html/HTMLVideoElement.h
+++ b/src/3rdparty/webkit/WebCore/html/HTMLVideoElement.h
@@ -42,11 +42,14 @@ public:
virtual int tagPriority() const { return 5; }
virtual bool rendererIsNeeded(RenderStyle*);
+#if !ENABLE(PLUGIN_PROXY_FOR_VIDEO)
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
+#endif
virtual void attach();
virtual void detach();
virtual void parseMappedAttribute(MappedAttribute* attr);
virtual bool isVideo() const { return true; }
+ virtual bool hasVideo() const { return player() && player()->hasVideo(); }
virtual bool isURLAttribute(Attribute*) const;
virtual const QualifiedName& imageSourceAttributeName() const;