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 InitModules_h | 5 #ifndef InitModules_h |
6 #define InitModules_h | 6 #define InitModules_h |
7 | 7 |
8 #include "core/Init.h" | 8 #include "core/Init.h" |
| 9 #include "platform/heap/Handle.h" |
9 | 10 |
10 namespace WebCore { | 11 namespace WebCore { |
11 | 12 |
| 13 class Event; |
| 14 class ExceptionState; |
| 15 |
12 class ModulesInitializer : public CoreInitializer { | 16 class ModulesInitializer : public CoreInitializer { |
13 public: | 17 public: |
14 virtual void initEventNames() OVERRIDE; | 18 virtual void initEventNames() OVERRIDE; |
15 virtual void initEventTargetNames() OVERRIDE; | 19 virtual void initEventTargetNames() OVERRIDE; |
16 }; | 20 }; |
17 | 21 |
| 22 PassRefPtrWillBeRawPtr<Event> createEventModules(const String& eventType, Except
ionState&); |
| 23 |
18 } // namespace WebCore | 24 } // namespace WebCore |
19 | 25 |
20 #endif // InitModules_h | 26 #endif // InitModules_h |
OLD | NEW |