// Copyright © 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
{
///
/// Callback interface for IBrowserHost.GetNavigationEntries.
/// The methods of this class will be called on the CEF UI thread.
///
public interface INavigationEntryVisitor : IDisposable
{
///
/// Method that will be executed.
///
/// if the navigationEntry will be invalid then
/// is true if this entry is the currently loaded navigation entry
/// is the 0-based index of this entry
/// is the total number of entries.
/// Return true to continue visiting entries or false to stop.
bool Visit(NavigationEntry entry, bool current, int index, int total);
}
}