diff --git a/CefSharp.Core.Runtime/CefSettingsBase.h b/CefSharp.Core.Runtime/CefSettingsBase.h
index ce619b37c7..7d4965ba23 100644
--- a/CefSharp.Core.Runtime/CefSettingsBase.h
+++ b/CefSharp.Core.Runtime/CefSettingsBase.h
@@ -93,6 +93,18 @@ namespace CefSharp
CommandLineArgDictionary^ get() { return _cefCommandLineArgs; }
}
+ ///
+ /// **Experimental**
+ /// Set to true to enable use of the Chrome runtime in CEF. This feature is
+ /// considered experimental and is not recommended for most users at this time.
+ /// See issue https://bitbucket.org/chromiumembedded/cef/issues/2969/support-chrome-windows-with-cef-callbacks for details.
+ ///
+ property bool ChromeRuntime
+ {
+ bool get() { return _cefSettings->chrome_runtime == 1; }
+ void set(bool value) { _cefSettings->chrome_runtime = value; }
+ }
+
///
/// Set to true to disable configuration of browser process features using standard CEF and Chromium command-line arguments.
/// Configuration can still be specified using CEF data structures or by adding to CefCommandLineArgs.
diff --git a/CefSharp.Core/CefSettingsBase.cs b/CefSharp.Core/CefSettingsBase.cs
index cdbafb4e0a..57450d0654 100644
--- a/CefSharp.Core/CefSettingsBase.cs
+++ b/CefSharp.Core/CefSettingsBase.cs
@@ -60,6 +60,18 @@ public CommandLineArgDictionary CefCommandLineArgs
get { return settings.CefCommandLineArgs; }
}
+ ///
+ /// **Experimental**
+ /// Set to true to enable use of the Chrome runtime in CEF. This feature is
+ /// considered experimental and is not recommended for most users at this time.
+ /// See issue https://bitbucket.org/chromiumembedded/cef/issues/2969/support-chrome-windows-with-cef-callbacks for details.
+ ///
+ public bool ChromeRuntime
+ {
+ get { return settings.ChromeRuntime; }
+ set { settings.ChromeRuntime = value; }
+ }
+
///
/// Set to true to disable configuration of browser process features using standard CEF and Chromium command-line arguments.
/// Configuration can still be specified using CEF data structures or by adding to CefCommandLineArgs.