Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / EventModulesFactory.h
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.
4
5 #ifndef EventModulesFactory_h
6 #define EventModulesFactory_h
7
8 #include "core/events/EventFactory.h"
9 #include "platform/heap/Handle.h"
10 #include "wtf/PassRefPtr.h"
11 #include "wtf/text/AtomicString.h"
12
13 namespace blink {
14
15 class Event;
16
17 class EventModulesFactory FINAL : public EventFactoryBase {
18 public:
19     static PassOwnPtr<EventModulesFactory> create()
20     {
21         return adoptPtr(new EventModulesFactory());
22     }
23
24     virtual PassRefPtrWillBeRawPtr<Event> create(const String& eventType) OVERRIDE;
25 };
26
27 }
28
29 #endif