| Index: Source/core/dom/Document.h
|
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
|
| index 84e22c0ec67318a2668c9a1fb2a0ab1909cd837b..050ff54baefb140ccefe80c51cb908c3d5a4a917 100644
|
| --- a/Source/core/dom/Document.h
|
| +++ b/Source/core/dom/Document.h
|
| @@ -95,6 +95,7 @@ class DocumentType;
|
| class Element;
|
| class ElementDataCache;
|
| class Event;
|
| +class EventFactoryBase;
|
| class EventListener;
|
| class ExceptionState;
|
| class FastTextAutosizer;
|
| @@ -694,6 +695,7 @@ public:
|
| void setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>);
|
| EventListener* getWindowAttributeEventListener(const AtomicString& eventType);
|
|
|
| + static void registerEventFactory(EventFactoryBase*);
|
| static PassRefPtrWillBeRawPtr<Event> createEvent(const String& eventType, ExceptionState&);
|
|
|
| // keep track of what types of event listeners are registered, so we don't
|
| @@ -1182,6 +1184,9 @@ private:
|
|
|
| bool haveStylesheetsLoaded() const;
|
|
|
| + typedef HashSet<EventFactoryBase*> EventFactorySet;
|
| + static EventFactorySet& eventFactories();
|
| +
|
| DocumentLifecycle m_lifecycle;
|
|
|
| bool m_hasNodesWithPlaceholderStyle;
|
|
|