summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLSourceElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLSourceElement.h')
-rw-r--r--WebCore/html/HTMLSourceElement.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/html/HTMLSourceElement.h b/WebCore/html/HTMLSourceElement.h
index 9027b88..50d6687 100644
--- a/WebCore/html/HTMLSourceElement.h
+++ b/WebCore/html/HTMLSourceElement.h
@@ -29,6 +29,7 @@
#if ENABLE(VIDEO)
#include "HTMLElement.h"
+#include "Timer.h"
#include <limits>
namespace WebCore {
@@ -51,6 +52,14 @@ public:
void setSrc(const String&);
void setMedia(const String&);
void setType(const String&);
+
+ void scheduleErrorEvent();
+ void cancelPendingErrorEvent();
+
+private:
+ void errorEventTimerFired(Timer<HTMLSourceElement>*);
+
+ Timer<HTMLSourceElement> m_errorEventTimer;
};
} //namespace