Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 #include "config.h" | |
| 6 #include "InitModules.h" | |
| 7 | |
| 8 #include "EventTargetModulesNames.h" | |
| 9 #include "core/Init.h" | |
| 10 | |
| 11 namespace WebCore { | |
| 12 | |
| 13 void initModules() | |
|
Nils Barth (inactive)
2014/05/12 01:41:56
abarth:
Do we have a naming preference about initM
| |
| 14 { | |
| 15 static bool isInited; | |
| 16 if (isInited) | |
| 17 return; | |
| 18 isInited = true; | |
| 19 | |
| 20 init(); | |
| 21 | |
| 22 // EventNames::init(); TODO: split core and modules names under bindings | |
|
Nils Barth (inactive)
2014/05/12 01:31:41
Could you link to a bug number? http://crbug.com/3
| |
| 23 EventTargetNames::initModules(); | |
| 24 // EventTypeNames::init(); TODO: split core and modules type names under bind ings | |
| 25 } | |
| 26 | |
| 27 } // namespace WebCore | |
| OLD | NEW |