mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
15 lines
494 B
C#
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;
|
|
}
|
|
}
|
|
} |