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/events/EventSender.h" | 26 #include "core/events/EventSender.h" |
27 #include "core/svg/SVGElement.h" | 27 #include "core/svg/SVGElement.h" |
28 #include "platform/heap/Handle.h" | 28 #include "platform/heap/Handle.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 typedef EventSender<SVGStyleElement> SVGStyleEventSender; | 32 using SVGStyleEventSender = EventSender<SVGStyleElement>; |
33 | 33 |
34 class SVGStyleElement final : public SVGElement | 34 class SVGStyleElement final : public SVGElement |
35 , public StyleElement { | 35 , public StyleElement { |
36 DEFINE_WRAPPERTYPEINFO(); | 36 DEFINE_WRAPPERTYPEINFO(); |
37 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement); | 37 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement); |
38 public: | 38 public: |
39 static PassRefPtrWillBeRawPtr<SVGStyleElement> create(Document&, bool create
dByParser); | 39 static PassRefPtrWillBeRawPtr<SVGStyleElement> create(Document&, bool create
dByParser); |
40 ~SVGStyleElement() override; | 40 ~SVGStyleElement() override; |
41 | 41 |
42 using StyleElement::sheet; | 42 using StyleElement::sheet; |
(...skipping 27 matching lines...) Expand all Loading... |
70 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 70 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
71 | 71 |
72 bool sheetLoaded() override { return StyleElement::sheetLoaded(document());
} | 72 bool sheetLoaded() override { return StyleElement::sheetLoaded(document());
} |
73 void notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus) ove
rride; | 73 void notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus) ove
rride; |
74 void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamic
Sheet(document()); } | 74 void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamic
Sheet(document()); } |
75 }; | 75 }; |
76 | 76 |
77 } // namespace blink | 77 } // namespace blink |
78 | 78 |
79 #endif // SVGStyleElement_h | 79 #endif // SVGStyleElement_h |
OLD | NEW |