| OLD | NEW |
| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 virtual const AtomicString& type() const; | 44 virtual const AtomicString& type() const; |
| 45 void setType(const AtomicString&, ExceptionCode&); | 45 void setType(const AtomicString&, ExceptionCode&); |
| 46 | 46 |
| 47 virtual const AtomicString& media() const; | 47 virtual const AtomicString& media() const; |
| 48 void setMedia(const AtomicString&, ExceptionCode&); | 48 void setMedia(const AtomicString&, ExceptionCode&); |
| 49 | 49 |
| 50 virtual String title() const; | 50 virtual String title() const; |
| 51 void setTitle(const AtomicString&, ExceptionCode&); | 51 void setTitle(const AtomicString&, ExceptionCode&); |
| 52 | 52 |
| 53 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi
sitor); } |
| 54 |
| 53 private: | 55 private: |
| 54 SVGStyleElement(const QualifiedName&, const Handle<Document>&, bool createdB
yParser); | 56 SVGStyleElement(const QualifiedName&, const Handle<Document>&, bool createdB
yParser); |
| 55 | 57 |
| 56 bool isSupportedAttribute(const QualifiedName&); | 58 bool isSupportedAttribute(const QualifiedName&); |
| 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 59 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 58 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 60 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
| 59 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; | 61 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; |
| 60 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); | 62 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
| 61 | 63 |
| 62 virtual void finishParsingChildren(); | 64 virtual void finishParsingChildren(); |
| 63 | 65 |
| 64 virtual bool isLoading() const { return StyleElement::isLoading(); } | 66 virtual bool isLoading() const { return StyleElement::isLoading(); } |
| 65 virtual bool sheetLoaded() { return StyleElement::sheetLoaded(document()); } | 67 virtual bool sheetLoaded() { return StyleElement::sheetLoaded(document()); } |
| 66 virtual void startLoadingDynamicSheet() { StyleElement::startLoadingDynamicS
heet(document()); } | 68 virtual void startLoadingDynamicSheet() { StyleElement::startLoadingDynamicS
heet(document()); } |
| 67 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } | 69 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } |
| 68 | 70 |
| 69 Timer<SVGElement> m_svgLoadEventTimer; | 71 Timer<SVGElement> m_svgLoadEventTimer; |
| 70 }; | 72 }; |
| 71 | 73 |
| 72 } // namespace WebCore | 74 } // namespace WebCore |
| 73 | 75 |
| 74 #endif // ENABLE(SVG) | 76 #endif // ENABLE(SVG) |
| 75 #endif // SVGStyleElement_h | 77 #endif // SVGStyleElement_h |
| OLD | NEW |