1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-16 09:15:47 +02:00
TweetDuck/Core/Handling/RequestHandlerBase.cs

12 lines
472 B
C#

using CefSharp;
using CefSharp.Handler;
using TweetDuck.Core.Handling.General;
namespace TweetDuck.Core.Handling{
class RequestHandlerBase : DefaultRequestHandler{
public override bool OnOpenUrlFromTab(IWebBrowser browserControl, IBrowser browser, IFrame frame, string targetUrl, WindowOpenDisposition targetDisposition, bool userGesture){
return LifeSpanHandler.HandleLinkClick(browserControl, targetDisposition, targetUrl);
}
}
}