diff --git a/CefSharp.Core/RequestContext.h b/CefSharp.Core/RequestContext.h index 16b9ea9ba..0eb6a6258 100644 --- a/CefSharp.Core/RequestContext.h +++ b/CefSharp.Core/RequestContext.h @@ -13,6 +13,19 @@ using namespace CefSharp; namespace CefSharp { + /// + /// A request context provides request handling for a set of related browser objects. + /// A request context is specified when creating a new browser object via the CefBrowserHost + /// static factory methods. Browser objects with different request contexts will never be + /// hosted in the same render process. Browser objects with the same request context may or + /// may not be hosted in the same render process depending on the process model. + /// Browser objects created indirectly via the JavaScript window.open function or targeted + /// links will share the same render process and the same request context as the source browser. + /// When running in single-process mode there is only a single render process (the main process) + /// and so all browsers created in single-process mode will share the same request context. + /// This will be the first request context passed into a CefBrowserHost static factory method + /// and all other request context objects will be ignored. + /// public ref class RequestContext { private: diff --git a/CefSharp.OffScreen/ChromiumWebBrowser.cs b/CefSharp.OffScreen/ChromiumWebBrowser.cs index e71504ae5..9085b1488 100644 --- a/CefSharp.OffScreen/ChromiumWebBrowser.cs +++ b/CefSharp.OffScreen/ChromiumWebBrowser.cs @@ -78,6 +78,7 @@ namespace CefSharp.OffScreen /// /// Initial address (url) to load /// The browser settings to use. If null, the default settings are used. + /// See for more details. Defaults to null public ChromiumWebBrowser(string address = "", BrowserSettings browserSettings = null, RequestContext requestcontext = null) { if (!Cef.IsInitialized && !Cef.Initialize())