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 #ifndef ConditionalFeaturesForModules_h | 5 #ifndef ConditionalFeaturesForModules_h |
6 #define ConditionalFeaturesForModules_h | 6 #define ConditionalFeaturesForModules_h |
7 | 7 |
8 #include "bindings/core/v8/ConditionalFeatures.h" | 8 #include "bindings/core/v8/ConditionalFeatures.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 void installConditionalFeaturesForModules(const WrapperTypeInfo*, | 12 void installConditionalFeaturesForModules(const WrapperTypeInfo*, |
13 const ScriptState*, | 13 const ScriptState*, |
14 v8::Local<v8::Object>, | 14 v8::Local<v8::Object>, |
15 v8::Local<v8::Function>); | 15 v8::Local<v8::Function>); |
| 16 bool installConditionalFeaturesIfNeededForModules(const WrapperTypeInfo*, |
| 17 const ScriptState*); |
| 18 void getAffectedTypesForConditionalFeatureForModules( |
| 19 const String&, |
| 20 HashSet<const WrapperTypeInfo*>*); |
16 | 21 |
17 void registerInstallConditionalFeaturesForModules(); | 22 void registerInstallConditionalFeaturesForModules(); |
18 | 23 |
19 } // namespace blink | 24 } // namespace blink |
20 | 25 |
21 #endif // ConditionalFeaturesForModules_h | 26 #endif // ConditionalFeaturesForModules_h |
OLD | NEW |