Chromium Code Reviews| Index: Source/core/svg/SVGStyleElement.h |
| diff --git a/Source/core/svg/SVGStyleElement.h b/Source/core/svg/SVGStyleElement.h |
| index a0e478c55762f04aaf7d31e31a98c2b2431ea1ee..f1786d1cf4e3a9927169097623d4ac6af2c74d7f 100644 |
| --- a/Source/core/svg/SVGStyleElement.h |
| +++ b/Source/core/svg/SVGStyleElement.h |
| @@ -23,11 +23,15 @@ |
| #include "core/SVGNames.h" |
| #include "core/dom/StyleElement.h" |
| +#include "core/events/EventSender.h" |
| #include "core/svg/SVGElement.h" |
| +#include "platform/Timer.h" |
|
pdr.
2015/03/31 21:36:38
Nit: is this include needed?
jww
2015/04/01 16:26:57
Removed.
|
| #include "platform/heap/Handle.h" |
| namespace blink { |
| +typedef EventSender<SVGStyleElement> SVGStyleEventSender; |
| + |
| class SVGStyleElement final : public SVGElement |
| , public StyleElement { |
| DEFINE_WRAPPERTYPEINFO(); |
| @@ -50,6 +54,8 @@ public: |
| virtual String title() const override; |
| void setTitle(const AtomicString&); |
| + void dispatchPendingEvent(SVGStyleEventSender*); |
| + |
| DECLARE_VIRTUAL_TRACE(); |
| private: |
| @@ -67,6 +73,7 @@ private: |
| virtual bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); } |
| virtual void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamicSheet(document()); } |
| virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadEventTimer; } |
| + void sendSVGErrorEventAsynchronously(); |
| Timer<SVGElement> m_svgLoadEventTimer; |
| }; |