summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLMediaElement.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-08-12 09:27:39 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-08-12 09:27:39 +0200
commit3749d61e1f7a59f5ec5067e560af1eb610c82015 (patch)
tree73dc228333948738bbe02976cacca8cd382bc978 /Source/WebCore/html/HTMLMediaElement.h
parentb32b4dcd9a51ab8de6afc53d9e17f8707e1f7a5e (diff)
downloadqtwebkit-3749d61e1f7a59f5ec5067e560af1eb610c82015.tar.gz
Imported WebKit commit a77350243e054f3460d1137301d8b3faee3d2052 (http://svn.webkit.org/repository/webkit/trunk@125365)
New snapshot with build fixes for latest API changes in Qt and all WK1 Win MSVC fixes upstream
Diffstat (limited to 'Source/WebCore/html/HTMLMediaElement.h')
-rw-r--r--Source/WebCore/html/HTMLMediaElement.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/Source/WebCore/html/HTMLMediaElement.h b/Source/WebCore/html/HTMLMediaElement.h
index 335bfbd36..bdc614989 100644
--- a/Source/WebCore/html/HTMLMediaElement.h
+++ b/Source/WebCore/html/HTMLMediaElement.h
@@ -175,20 +175,7 @@ public:
#if ENABLE(MEDIA_SOURCE)
// Media Source.
const KURL& webkitMediaSourceURL() const { return m_mediaSourceURL; }
- void webkitSourceAddId(const String&, const String&, ExceptionCode&);
- void webkitSourceRemoveId(const String&, ExceptionCode&);
- PassRefPtr<TimeRanges> webkitSourceBuffered(const String&, ExceptionCode&);
- void webkitSourceAppend(const String&, PassRefPtr<Uint8Array> data, ExceptionCode&);
- void webkitSourceAbort(const String&, ExceptionCode&);
- enum EndOfStreamStatus { EOS_NO_ERROR, EOS_NETWORK_ERR, EOS_DECODE_ERR };
- void webkitSourceEndOfStream(unsigned short, ExceptionCode&);
- enum SourceState { SOURCE_CLOSED, SOURCE_OPEN, SOURCE_ENDED };
- SourceState webkitSourceState() const;
- void setSourceState(SourceState);
-
- DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitsourceopen);
- DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitsourceended);
- DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitsourceclose);
+ void setSourceState(const String&);
#endif
#if ENABLE(ENCRYPTED_MEDIA)
@@ -328,6 +315,8 @@ public:
virtual bool dispatchEvent(PassRefPtr<Event>);
+ virtual bool willRespondToMouseClickEvents() OVERRIDE;
+
protected:
HTMLMediaElement(const QualifiedName&, Document*, bool);
virtual ~HTMLMediaElement();
@@ -418,7 +407,6 @@ private:
#if ENABLE(MEDIA_SOURCE)
virtual void mediaPlayerSourceOpened();
virtual String mediaPlayerSourceURL() const;
- bool isValidSourceId(const String&, ExceptionCode&) const;
#endif
#if ENABLE(ENCRYPTED_MEDIA)
@@ -596,8 +584,7 @@ private:
#if ENABLE(MEDIA_SOURCE)
KURL m_mediaSourceURL;
- SourceState m_sourceState;
- HashSet<String> m_sourceIDs;
+ RefPtr<MediaSource> m_mediaSource;
#endif
mutable float m_cachedTime;