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.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/WebCore/html/HTMLSourceElement.h b/WebCore/html/HTMLSourceElement.h
index 50d6687..e11c9d0 100644
--- a/WebCore/html/HTMLSourceElement.h
+++ b/WebCore/html/HTMLSourceElement.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -30,22 +30,13 @@
#include "HTMLElement.h"
#include "Timer.h"
-#include <limits>
namespace WebCore {
-class KURL;
-
class HTMLSourceElement : public HTMLElement {
public:
- HTMLSourceElement(const QualifiedName&, Document*);
- virtual ~HTMLSourceElement();
+ static PassRefPtr<HTMLSourceElement> create(const QualifiedName&, Document*);
- virtual HTMLTagStatus endTagRequirement() const { return TagStatusForbidden; }
- virtual int tagPriority() const { return 0; }
-
- virtual void insertedIntoDocument();
-
KURL src() const;
String media() const;
String type() const;
@@ -57,6 +48,13 @@ public:
void cancelPendingErrorEvent();
private:
+ HTMLSourceElement(const QualifiedName&, Document*);
+
+ virtual HTMLTagStatus endTagRequirement() const { return TagStatusForbidden; }
+ virtual int tagPriority() const { return 0; }
+
+ virtual void insertedIntoDocument();
+
void errorEventTimerFired(Timer<HTMLSourceElement>*);
Timer<HTMLSourceElement> m_errorEventTimer;