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

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

Issue 16425002: Moved StyleElement::insertedIntoDocument into didNotifySubtreeInsertions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/HTMLStyleElement.cpp ('k') | Source/core/svg/SVGStyleElement.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 virtual String title() const; 48 virtual String title() const;
49 void setTitle(const AtomicString&); 49 void setTitle(const AtomicString&);
50 50
51 private: 51 private:
52 SVGStyleElement(const QualifiedName&, Document*, bool createdByParser); 52 SVGStyleElement(const QualifiedName&, Document*, bool createdByParser);
53 53
54 bool isSupportedAttribute(const QualifiedName&); 54 bool isSupportedAttribute(const QualifiedName&);
55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
57 virtual void didNotifySubtreeInsertions(ContainerNode*) OVERRIDE;
57 virtual void removedFrom(ContainerNode*) OVERRIDE; 58 virtual void removedFrom(ContainerNode*) OVERRIDE;
58 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 59 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0);
59 60
60 virtual void finishParsingChildren(); 61 virtual void finishParsingChildren();
61 62
62 virtual bool isLoading() const { return StyleElement::isLoading(); } 63 virtual bool isLoading() const { return StyleElement::isLoading(); }
63 virtual bool sheetLoaded() { return StyleElement::sheetLoaded(document()); } 64 virtual bool sheetLoaded() { return StyleElement::sheetLoaded(document()); }
64 virtual void startLoadingDynamicSheet() { StyleElement::startLoadingDynamicS heet(document()); } 65 virtual void startLoadingDynamicSheet() { StyleElement::startLoadingDynamicS heet(document()); }
65 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; } 66 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; }
66 67
67 Timer<SVGElement> m_svgLoadEventTimer; 68 Timer<SVGElement> m_svgLoadEventTimer;
68 }; 69 };
69 70
70 } // namespace WebCore 71 } // namespace WebCore
71 72
72 #endif // SVGStyleElement_h 73 #endif // SVGStyleElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLStyleElement.cpp ('k') | Source/core/svg/SVGStyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698