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