summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLMediaElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLMediaElement.h')
-rw-r--r--WebCore/html/HTMLMediaElement.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/WebCore/html/HTMLMediaElement.h b/WebCore/html/HTMLMediaElement.h
index e5e7ae0..61221b8 100644
--- a/WebCore/html/HTMLMediaElement.h
+++ b/WebCore/html/HTMLMediaElement.h
@@ -197,9 +197,6 @@ private:
virtual void defaultEventHandler(Event*);
- float getTimeOffsetAttribute(const QualifiedName&, float valueOnError) const;
- void setTimeOffsetAttribute(const QualifiedName&, float value);
-
// ActiveDOMObject functions.
virtual bool canSuspend() const;
virtual void suspend(ReasonForSuspension);
@@ -293,6 +290,9 @@ private:
void setShouldDelayLoadEvent(bool);
+ void invalidateCachedTime();
+ void refreshCachedTime() const;
+
// Restrictions to change default behaviors. This is effectively a compile time choice at the moment
// because there are no accessor functions.
enum BehaviorRestrictions {
@@ -352,6 +352,10 @@ private:
// calling the media engine recursively.
int m_processingMediaPlayerCallback;
+ mutable float m_cachedTime;
+ mutable double m_cachedTimeWallClockUpdateTime;
+ mutable double m_minimumWallClockTimeToCacheMediaTime;
+
bool m_playing : 1;
bool m_isWaitingUntilMediaCanStart : 1;
bool m_shouldDelayLoadEvent : 1;