Files
cefsharp/CefSharp.Example/RequestEventHandler/EventArgs/OnProtocolExecutionEventArgs.cs
T
amaitland 52ec00c486 Code cleanup - Rename IWebBrowser browserControl to chromiumWebBrowser
Hopefully this makes it clearer that the IWebBrowser instance is actually the ChromiumWebBrowser

Updated almost all instances, there's one WinForms example that wasn't updated
2019-07-20 16:26:25 +10:00

24 lines
803 B
C#

// Copyright © 2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.Example.RequestEventHandler
{
public class OnProtocolExecutionEventArgs : BaseRequestEventArgs
{
public OnProtocolExecutionEventArgs(IWebBrowser chromiumWebBrowser, IBrowser browser, string url) : base(chromiumWebBrowser, browser)
{
Url = url;
AttemptExecution = false; // default
}
public string Url { get; private set; }
/// <summary>
/// Set to true to attempt execution via the registered OS protocol handler, if any. Otherwise set to false.
/// </summary>
public bool AttemptExecution { get; set; }
}
}