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

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

Issue 365673002: Pass a struct to ContainerNode::childrenChanged() instead of separate arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dead code Created 6 years, 5 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual void trace(Visitor*) OVERRIDE; 51 virtual void trace(Visitor*) OVERRIDE;
52 52
53 private: 53 private:
54 SVGStyleElement(Document&, bool createdByParser); 54 SVGStyleElement(Document&, bool createdByParser);
55 55
56 bool isSupportedAttribute(const QualifiedName&); 56 bool isSupportedAttribute(const QualifiedName&);
57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
58 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 58 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
59 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; 59 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
60 virtual void removedFrom(ContainerNode*) OVERRIDE; 60 virtual void removedFrom(ContainerNode*) OVERRIDE;
61 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; 61 virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
62 62
63 virtual void finishParsingChildren() OVERRIDE; 63 virtual void finishParsingChildren() OVERRIDE;
64 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } 64 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
65 65
66 virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(docum ent()); } 66 virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(docum ent()); }
67 virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadin gDynamicSheet(document()); } 67 virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadin gDynamicSheet(document()); }
68 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; } 68 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; }
69 69
70 Timer<SVGElement> m_svgLoadEventTimer; 70 Timer<SVGElement> m_svgLoadEventTimer;
71 }; 71 };
72 72
73 } // namespace WebCore 73 } // namespace WebCore
74 74
75 #endif // SVGStyleElement_h 75 #endif // SVGStyleElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698