Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
index 5ea8544eccf4b7db47454457aea0f934868a9f21..bb81d5032e0004f7d940fd21bffb35ce35185dc8 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h |
@@ -36,6 +36,12 @@ CORE_EXPORT void installConditionalFeatures(const WrapperTypeInfo*, |
CORE_EXPORT InstallConditionalFeaturesFunction |
setInstallConditionalFeaturesFunction(InstallConditionalFeaturesFunction); |
+// Installs all of the conditionally enabled V8 bindings on the Window object. |
+// This is called separately from other objects so that attributes and |
+// interfaces which need to be visible on the global object are installed even |
+// when the V8 context is reused (i.e., after navigation) |
+CORE_EXPORT void installPendingConditionalFeaturesOnWindow(const ScriptState*); |
+ |
bool isFeatureEnabledInFrame(const FeaturePolicy::Feature&, const LocalFrame*); |
} // namespace blink |