Files
cefsharp/CefSharp/IRunContextMenuCallback.cs
T

29 lines
889 B
C#

// Copyright © 2010-2016 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.
using System;
namespace CefSharp
{
public interface IRunContextMenuCallback : IDisposable
{
/// <summary>
/// Complete context menu display by selecting the specified commandId and eventFlags;
/// </summary>
/// <param name="commandId">the command Id</param>
/// <param name="eventFlags">the event flags</param>
void Continue(CefMenuCommand commandId, CefEventFlags eventFlags);
/// <summary>
/// Cancel context menu display.
/// </summary>
void Cancel();
/// <summary>
/// Gets a value indicating whether the callback has been disposed of.
/// </summary>
bool IsDisposed { get; }
}
}