| 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 11 matching lines...) Expand all Loading... |
| 22 #define SVGStyleElement_h | 22 #define SVGStyleElement_h |
| 23 | 23 |
| 24 #include "core/SVGNames.h" | 24 #include "core/SVGNames.h" |
| 25 #include "core/dom/StyleElement.h" | 25 #include "core/dom/StyleElement.h" |
| 26 #include "core/svg/SVGElement.h" | 26 #include "core/svg/SVGElement.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 class SVGStyleElement FINAL : public SVGElement | 30 class SVGStyleElement FINAL : public SVGElement |
| 31 , public StyleElement { | 31 , public StyleElement { |
| 32 DEFINE_WRAPPERTYPEINFO(); |
| 32 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement); | 33 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement); |
| 33 public: | 34 public: |
| 34 static PassRefPtrWillBeRawPtr<SVGStyleElement> create(Document&, bool create
dByParser); | 35 static PassRefPtrWillBeRawPtr<SVGStyleElement> create(Document&, bool create
dByParser); |
| 35 virtual ~SVGStyleElement(); | 36 virtual ~SVGStyleElement(); |
| 36 | 37 |
| 37 using StyleElement::sheet; | 38 using StyleElement::sheet; |
| 38 | 39 |
| 39 bool disabled() const; | 40 bool disabled() const; |
| 40 void setDisabled(bool); | 41 void setDisabled(bool); |
| 41 | 42 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 66 virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(docum
ent()); } | 67 virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(docum
ent()); } |
| 67 virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadin
gDynamicSheet(document()); } | 68 virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadin
gDynamicSheet(document()); } |
| 68 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } | 69 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE
ventTimer; } |
| 69 | 70 |
| 70 Timer<SVGElement> m_svgLoadEventTimer; | 71 Timer<SVGElement> m_svgLoadEventTimer; |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 } // namespace blink | 74 } // namespace blink |
| 74 | 75 |
| 75 #endif // SVGStyleElement_h | 76 #endif // SVGStyleElement_h |
| OLD | NEW |