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

Unified Diff: Source/modules/EventModulesFactory.h

Issue 305723002: Use method registration approach for creating events on core and modules. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaseline Created 6 years, 7 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 | « Source/core/events/EventFactory.h ('k') | Source/modules/InitModules.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/EventModulesFactory.h
diff --git a/Source/modules/EventModulesFactory.h b/Source/modules/EventModulesFactory.h
index b826e9e857af801ae0bbce2bcc6633f878bccd8d..61e7b2ad9f8a257bab44ed21d853f0a353574dd3 100644
--- a/Source/modules/EventModulesFactory.h
+++ b/Source/modules/EventModulesFactory.h
@@ -5,6 +5,7 @@
#ifndef EventModulesFactory_h
#define EventModulesFactory_h
+#include "core/events/EventFactory.h"
#include "platform/heap/Handle.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/AtomicString.h"
@@ -13,9 +14,9 @@ namespace WebCore {
class Event;
-class EventModulesFactory {
+class EventModulesFactory : public EventFactoryBase {
public:
- static PassRefPtrWillBeRawPtr<Event> create(const String& eventType);
+ virtual PassRefPtrWillBeRawPtr<Event> create(const String& eventType) OVERRIDE;
};
}
« no previous file with comments | « Source/core/events/EventFactory.h ('k') | Source/modules/InitModules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698