Fix compiler warning for missing xml comment from ChromiumWebBrowser OffScreen constructor

Add xml comment to RequestContext to better explain what it actually does
This commit is contained in:
amaitland
2015-07-31 14:19:57 +10:00
parent 4c155ea6d2
commit ebaba426ba
2 changed files with 14 additions and 0 deletions
+13
View File
@@ -13,6 +13,19 @@ using namespace CefSharp;
namespace CefSharp
{
/// <summary>
/// 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.
/// </summary>
public ref class RequestContext
{
private:
+1
View File
@@ -78,6 +78,7 @@ namespace CefSharp.OffScreen
/// </summary>
/// <param name="address">Initial address (url) to load</param>
/// <param name="browserSettings">The browser settings to use. If null, the default settings are used.</param>
/// <param name="requestcontext">See <see cref="RequestContext"/> for more details. Defaults to null</param>
public ChromiumWebBrowser(string address = "", BrowserSettings browserSettings = null, RequestContext requestcontext = null)
{
if (!Cef.IsInitialized && !Cef.Initialize())