Files
cefsharp/CefSharp.WinForms.Example/MenuHandler.cs
T

15 lines
494 B
C#

// Copyright © 2010-2015 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.WinForms.Example
{
internal class MenuHandler : IMenuHandler
{
public bool OnBeforeContextMenu(IWebBrowser browser, IFrame frame, IContextMenuParams parameters)
{
// Return false if you want to disable the context menu.
return true;
}
}
}