Files
cefsharp/CefSharp/NavStateChangedEventArgs.cs
T
amaitland 9e671737d4 Remove custom delegates and replace with Generic EventHandler<>'s
Conflicts:
	CefSharp.WinForms/ChromiumWebBrowser.cs
2014-07-01 11:33:34 +10:00

26 lines
784 B
C#

// Copyright © 2010-2014 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
{
/// <summary>
/// Event arguments to the NavStateChanged event handler set up in IWebBrowser.
/// </summary>
public class NavStateChangedEventArgs : EventArgs
{
public bool CanGoForward { get; private set; }
public bool CanGoBack { get; private set; }
public bool CanReload { get; private set; }
public NavStateChangedEventArgs(bool canGoBack, bool canGoForward, bool canReload)
{
CanGoBack = canGoBack;
CanGoForward = canGoForward;
CanReload = canReload;
}
}
}