Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Side by Side Diff: Source/core/svg/SVGScriptElement.h

Issue 288033006: Revert a series of wrong fixes for crbug.com/361011 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLScriptElement.cpp ('k') | Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual bool isAnimatableAttribute(const QualifiedName&) const OVERRIDE; 45 virtual bool isAnimatableAttribute(const QualifiedName&) const OVERRIDE;
46 #endif 46 #endif
47 47
48 private: 48 private:
49 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); 49 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted);
50 50
51 bool isSupportedAttribute(const QualifiedName&); 51 bool isSupportedAttribute(const QualifiedName&);
52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
53 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 53 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
54 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; 54 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
55 virtual void didMoveToNewDocument(Document&) OVERRIDE;
56 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; 55 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
57 56
58 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 57 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
59 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 58 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
60 virtual bool isStructurallyExternal() const OVERRIDE { return hasSourceAttri bute(); } 59 virtual bool isStructurallyExternal() const OVERRIDE { return hasSourceAttri bute(); }
61 virtual void finishParsingChildren() OVERRIDE; 60 virtual void finishParsingChildren() OVERRIDE;
62 61
63 virtual bool haveLoadedRequiredResources() OVERRIDE; 62 virtual bool haveLoadedRequiredResources() OVERRIDE;
64 63
65 virtual String sourceAttributeValue() const OVERRIDE; 64 virtual String sourceAttributeValue() const OVERRIDE;
(...skipping 14 matching lines...) Expand all
80 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; } 79 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; }
81 80
82 81
83 Timer<SVGElement> m_svgLoadEventTimer; 82 Timer<SVGElement> m_svgLoadEventTimer;
84 OwnPtr<ScriptLoader> m_loader; 83 OwnPtr<ScriptLoader> m_loader;
85 }; 84 };
86 85
87 } // namespace WebCore 86 } // namespace WebCore
88 87
89 #endif 88 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLScriptElement.cpp ('k') | Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698