diff options
Diffstat (limited to 'WebCore/html/HTMLScriptElement.h')
-rw-r--r-- | WebCore/html/HTMLScriptElement.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/html/HTMLScriptElement.h b/WebCore/html/HTMLScriptElement.h index 8839131..4d18beb 100644 --- a/WebCore/html/HTMLScriptElement.h +++ b/WebCore/html/HTMLScriptElement.h @@ -35,7 +35,7 @@ public: HTMLScriptElement(const QualifiedName&, Document*, bool createdByParser); ~HTMLScriptElement(); - bool shouldExecuteAsJavaScript() const; + virtual bool shouldExecuteAsJavaScript() const; virtual String scriptContent() const; virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; } @@ -75,11 +75,14 @@ public: virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; + bool haveFiredLoadEvent() const { return m_data.haveFiredLoadEvent(); } + protected: virtual String sourceAttributeValue() const; virtual String charsetAttributeValue() const; virtual String typeAttributeValue() const; virtual String languageAttributeValue() const; + virtual String forAttributeValue() const; virtual void dispatchLoadEvent(); virtual void dispatchErrorEvent(); |