Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: sky/engine/core/dom/Document.h

Issue 879743004: Remove the EventFactory machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index 16c973db5940d787d53caf396ab8765bd88d3c40..27df6466cdb5aadf0cfe55d100aa25c6e4a73b46 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -78,7 +78,6 @@ class DocumentParser;
class Element;
class ElementDataCache;
class Event;
-class EventFactoryBase;
class EventListener;
class ExceptionState;
class FloatQuad;
@@ -343,9 +342,6 @@ public:
void clearDOMWindow() { m_domWindow = nullptr; }
LocalDOMWindow* domWindow() const { return m_domWindow; }
- static void registerEventFactory(PassOwnPtr<EventFactoryBase>);
- static PassRefPtr<Event> createEvent(const String& eventType, ExceptionState&);
-
// keep track of what types of event listeners are registered, so we don't
// dispatch events unnecessarily
enum ListenerType {
@@ -607,9 +603,6 @@ private:
void setHoverNode(PassRefPtr<Node>);
Node* hoverNode() const { return m_hoverNode.get(); }
- typedef HashSet<OwnPtr<EventFactoryBase> > EventFactorySet;
- static EventFactorySet& eventFactories();
-
DocumentLifecycle m_lifecycle;
AbstractModule* m_module;
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698