1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EventModulesFactory_h
6 #define EventModulesFactory_h
8 #include "core/events/EventFactory.h"
9 #include "platform/heap/Handle.h"
10 #include "wtf/PassRefPtr.h"
11 #include "wtf/text/AtomicString.h"
17 class EventModulesFactory FINAL : public EventFactoryBase {
19 static PassOwnPtr<EventModulesFactory> create()
21 return adoptPtr(new EventModulesFactory());
24 virtual PassRefPtrWillBeRawPtr<Event> create(const String& eventType) OVERRIDE;