| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EventModulesFactory_h | 5 #ifndef EventModulesFactory_h |
| 6 #define EventModulesFactory_h | 6 #define EventModulesFactory_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/events/EventFactory.h" | 9 #include "core/events/EventFactory.h" |
| 9 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 10 #include "wtf/PassRefPtr.h" | 11 #include "wtf/PassRefPtr.h" |
| 11 #include "wtf/PtrUtil.h" | 12 #include "wtf/PtrUtil.h" |
| 12 #include "wtf/text/AtomicString.h" | 13 #include "wtf/text/AtomicString.h" |
| 13 #include <memory> | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class Event; | 17 class Event; |
| 18 | 18 |
| 19 class EventModulesFactory final : public EventFactoryBase { | 19 class EventModulesFactory final : public EventFactoryBase { |
| 20 public: | 20 public: |
| 21 static std::unique_ptr<EventModulesFactory> create() { | 21 static std::unique_ptr<EventModulesFactory> create() { |
| 22 return WTF::makeUnique<EventModulesFactory>(); | 22 return WTF::makeUnique<EventModulesFactory>(); |
| 23 } | 23 } |
| 24 | 24 |
| 25 Event* create(ExecutionContext*, const String& eventType) override; | 25 Event* create(ExecutionContext*, const String& eventType) override; |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace blink | 28 } // namespace blink |
| 29 | 29 |
| 30 #endif | 30 #endif |
| OLD | NEW |