summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/HTMLScriptElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLScriptElement.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/HTMLScriptElement.h32
1 files changed, 15 insertions, 17 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLScriptElement.h b/chromium/third_party/WebKit/Source/core/html/HTMLScriptElement.h
index d4e0efd047e..9dbc0c86fa4 100644
--- a/chromium/third_party/WebKit/Source/core/html/HTMLScriptElement.h
+++ b/chromium/third_party/WebKit/Source/core/html/HTMLScriptElement.h
@@ -33,7 +33,7 @@ class ScriptLoader;
class HTMLScriptElement FINAL : public HTMLElement, public ScriptLoaderClient {
public:
- static PassRefPtr<HTMLScriptElement> create(Document&, bool wasInsertedByParser, bool alreadyStarted = false);
+ static PassRefPtrWillBeRawPtr<HTMLScriptElement> create(Document&, bool wasInsertedByParser, bool alreadyStarted = false);
String text() { return textFromChildren(); }
void setText(const String&);
@@ -51,31 +51,29 @@ private:
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
- virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
+ virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
+ virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE;
+ virtual const QualifiedName& subResourceAttributeName() const OVERRIDE;
- virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
+ virtual String sourceAttributeValue() const OVERRIDE;
+ virtual String charsetAttributeValue() const OVERRIDE;
+ virtual String typeAttributeValue() const OVERRIDE;
+ virtual String languageAttributeValue() const OVERRIDE;
+ virtual String forAttributeValue() const OVERRIDE;
+ virtual String eventAttributeValue() const OVERRIDE;
+ virtual bool asyncAttributeValue() const OVERRIDE;
+ virtual bool deferAttributeValue() const OVERRIDE;
+ virtual bool hasSourceAttribute() const OVERRIDE;
- virtual String sourceAttributeValue() const;
- virtual String charsetAttributeValue() const;
- virtual String typeAttributeValue() const;
- virtual String languageAttributeValue() const;
- virtual String forAttributeValue() const;
- virtual String eventAttributeValue() const;
- virtual bool asyncAttributeValue() const;
- virtual bool deferAttributeValue() const;
- virtual bool hasSourceAttribute() const;
+ virtual void dispatchLoadEvent() OVERRIDE;
- virtual void dispatchLoadEvent();
-
- virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren();
+ virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChildren() OVERRIDE;
OwnPtr<ScriptLoader> m_loader;
};
-DEFINE_NODE_TYPE_CASTS(HTMLScriptElement, hasTagName(HTMLNames::scriptTag));
-
} //namespace
#endif