mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-15 02:42:46 +01:00
14 lines
534 B
C#
14 lines
534 B
C#
using CefSharp;
|
|
using IContextMenuHandler = TweetLib.Browser.Interfaces.IContextMenuHandler;
|
|
|
|
namespace TweetDuck.Browser.Handling {
|
|
sealed class ContextMenuGuide : ContextMenuBase {
|
|
public ContextMenuGuide(IContextMenuHandler handler) : base(handler) {}
|
|
|
|
public override void OnBeforeContextMenu(IWebBrowser browserControl, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model) {
|
|
base.OnBeforeContextMenu(browserControl, browser, frame, parameters, model);
|
|
AddDebugMenuItems(model);
|
|
}
|
|
}
|
|
}
|