| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "bindings/modules/v8/ModuleBindingsInitializer.h" | 5 #include "bindings/modules/v8/ModuleBindingsInitializer.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/V8Binding.h" | 7 #include "bindings/core/v8/V8Binding.h" |
| 8 #include "bindings/core/v8/V8PerIsolateData.h" | 8 #include "bindings/core/v8/V8PerIsolateData.h" |
| 9 #include "bindings/modules/v8/SerializedScriptValueForModulesFactory.h" | 9 #include "bindings/modules/v8/SerializedScriptValueForModulesFactory.h" |
| 10 #include "bindings/modules/v8/V8BindingForModules.h" | 10 #include "bindings/modules/v8/V8BindingForModules.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 // initPartialInterfacesInModules is generated by | 14 // initPartialInterfacesInModules is generated by |
| 15 // generate_init_partial_interfaces.py. | 15 // generate_init_partial_interfaces.py. |
| 16 void initPartialInterfacesInModules(); | 16 void initPartialInterfacesInModules(); |
| 17 | 17 |
| 18 void ModuleBindingsInitializer::init() | 18 void ModuleBindingsInitializer::init() |
| 19 { | 19 { |
| 20 registerToExecutionContextForModules(toExecutionContextForModules); | 20 registerToExecutionContextForModules(toExecutionContextForModules); |
| 21 registerInitializeOriginTrialsForModules(); |
| 21 initPartialInterfacesInModules(); | 22 initPartialInterfacesInModules(); |
| 22 SerializedScriptValueFactory::initialize(new SerializedScriptValueForModules
Factory); | 23 SerializedScriptValueFactory::initialize(new SerializedScriptValueForModules
Factory); |
| 23 } | 24 } |
| 24 | 25 |
| 25 } // namespace blink | 26 } // namespace blink |
| OLD | NEW |