// 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; } /// /// Set to true to attempt execution via the registered OS protocol handler, if any. Otherwise set to false. /// public bool AttemptExecution { get; set; } } }