mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 09:37:03 +00:00
52ec00c486
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
24 lines
803 B
C#
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; }
|
|
}
|
|
}
|