Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h

Issue 2458183002: Eagerly install Origin Trial features on window (Closed)
Patch Set: Address comments from PS#7, move ScriptState change to new CL Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c5fb0dda47b94ba9668f714938041285eea1fe2f..bd017142b45d3a5a443b19947516c7dcee18e7b6 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.h
@@ -34,6 +34,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*);
+
} // namespace blink
#endif // ConditionalFeatures_h

Powered by Google App Engine
This is Rietveld 408576698