OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/ConditionalFeaturesForModules.h" | 5 #include "bindings/modules/v8/ConditionalFeaturesForModules.h" |
6 | 6 |
7 #include "bindings/core/v8/ConditionalFeatures.h" | |
8 #include "bindings/core/v8/ConditionalFeaturesForCore.h" | 7 #include "bindings/core/v8/ConditionalFeaturesForCore.h" |
9 #include "bindings/core/v8/ScriptState.h" | 8 #include "bindings/core/v8/ScriptState.h" |
10 #include "bindings/core/v8/V8DedicatedWorkerGlobalScope.h" | 9 #include "bindings/core/v8/V8DedicatedWorkerGlobalScope.h" |
11 #include "bindings/core/v8/V8Navigator.h" | 10 #include "bindings/core/v8/V8Navigator.h" |
12 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h" | 11 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h" |
13 #include "bindings/core/v8/V8Window.h" | 12 #include "bindings/core/v8/V8Window.h" |
14 #include "bindings/core/v8/V8WorkerNavigator.h" | 13 #include "bindings/core/v8/V8WorkerNavigator.h" |
15 #include "bindings/modules/v8/V8DedicatedWorkerGlobalScopePartial.h" | 14 #include "bindings/modules/v8/V8DedicatedWorkerGlobalScopePartial.h" |
16 #include "bindings/modules/v8/V8Gamepad.h" | 15 #include "bindings/modules/v8/V8Gamepad.h" |
17 #include "bindings/modules/v8/V8GamepadButton.h" | 16 #include "bindings/modules/v8/V8GamepadButton.h" |
18 #include "bindings/modules/v8/V8InstallEvent.h" | 17 #include "bindings/modules/v8/V8InstallEvent.h" |
19 #include "bindings/modules/v8/V8NavigatorPartial.h" | 18 #include "bindings/modules/v8/V8NavigatorPartial.h" |
20 #include "bindings/modules/v8/V8ServiceWorkerGlobalScope.h" | 19 #include "bindings/modules/v8/V8ServiceWorkerGlobalScope.h" |
21 #include "bindings/modules/v8/V8SharedWorkerGlobalScopePartial.h" | 20 #include "bindings/modules/v8/V8SharedWorkerGlobalScopePartial.h" |
22 #include "bindings/modules/v8/V8WindowPartial.h" | 21 #include "bindings/modules/v8/V8WindowPartial.h" |
23 #include "bindings/modules/v8/V8WorkerNavigatorPartial.h" | 22 #include "bindings/modules/v8/V8WorkerNavigatorPartial.h" |
24 #include "core/dom/ExecutionContext.h" | 23 #include "core/dom/ExecutionContext.h" |
25 #include "core/origin_trials/OriginTrials.h" | 24 #include "core/origin_trials/OriginTrials.h" |
| 25 #include "platform/bindings/ConditionalFeatures.h" |
26 | 26 |
27 namespace blink { | 27 namespace blink { |
28 | 28 |
29 namespace { | 29 namespace { |
30 InstallConditionalFeaturesFunction | 30 InstallConditionalFeaturesFunction |
31 g_original_install_conditional_features_function = nullptr; | 31 g_original_install_conditional_features_function = nullptr; |
32 InstallPendingConditionalFeatureFunction | 32 InstallPendingConditionalFeatureFunction |
33 g_original_install_pending_conditional_feature_function = nullptr; | 33 g_original_install_pending_conditional_feature_function = nullptr; |
34 } | 34 } |
35 | 35 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 RegisterInstallConditionalFeaturesForCore(); | 214 RegisterInstallConditionalFeaturesForCore(); |
215 g_original_install_conditional_features_function = | 215 g_original_install_conditional_features_function = |
216 SetInstallConditionalFeaturesFunction( | 216 SetInstallConditionalFeaturesFunction( |
217 &InstallConditionalFeaturesForModules); | 217 &InstallConditionalFeaturesForModules); |
218 g_original_install_pending_conditional_feature_function = | 218 g_original_install_pending_conditional_feature_function = |
219 SetInstallPendingConditionalFeatureFunction( | 219 SetInstallPendingConditionalFeatureFunction( |
220 &InstallPendingConditionalFeatureForModules); | 220 &InstallPendingConditionalFeatureForModules); |
221 } | 221 } |
222 | 222 |
223 } // namespace blink | 223 } // namespace blink |
OLD | NEW |