Index: Source/core/svg/SVGStyleElement.h |
diff --git a/Source/core/svg/SVGStyleElement.h b/Source/core/svg/SVGStyleElement.h |
index a0e478c55762f04aaf7d31e31a98c2b2431ea1ee..6d0dbc086f115ce50be56c1b2466480356b9399f 100644 |
--- a/Source/core/svg/SVGStyleElement.h |
+++ b/Source/core/svg/SVGStyleElement.h |
@@ -23,11 +23,14 @@ |
#include "core/SVGNames.h" |
#include "core/dom/StyleElement.h" |
+#include "core/events/EventSender.h" |
#include "core/svg/SVGElement.h" |
#include "platform/heap/Handle.h" |
namespace blink { |
+typedef EventSender<SVGStyleElement> SVGStyleEventSender; |
+ |
class SVGStyleElement final : public SVGElement |
, public StyleElement { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -50,6 +53,8 @@ public: |
virtual String title() const override; |
void setTitle(const AtomicString&); |
+ void dispatchPendingEvent(SVGStyleEventSender*); |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -67,6 +72,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; |
}; |