Files
cefsharp/CefSharp/Handler/IFindHandler.cs
T
amaitland b492905cea Code cleanup - Move some structs and enums into separate namespace
- Move the less likely to be used structs/enums into the relevant namespaces, would ideally like to move them all, would likely cause a few issues
for some when upgrading though, so deferring for now.
- Remove Geoposition as it's no longer used (Geolocation API was removed in CEF)
2018-04-20 12:56:32 +10:00

28 lines
1.3 KiB
C#

// Copyright © 2010-2017 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 CefSharp.Structs;
namespace CefSharp
{
/// <summary>
/// Implement this interface to handle events related to find results.
/// The methods of this class will be called on the CEF UI thread.
/// </summary>
public interface IFindHandler
{
/// <summary>
/// Called to report find results returned by <see cref="IBrowserHost.Find"/>
/// </summary>
/// <param name="browserControl">the browser control</param>
/// <param name="browser">the browser object</param>
/// <param name="identifier">is the identifier passed to Find()</param>
/// <param name="count">is the number of matches currently identified</param>
/// <param name="selectionRect">is the location of where the match was found (in window coordinates)</param>
/// <param name="activeMatchOrdinal">is the current position in the search results</param>
/// <param name="finalUpdate">is true if this is the last find notification.</param>
void OnFindResult(IWebBrowser browserControl, IBrowser browser, int identifier, int count, Rect selectionRect, int activeMatchOrdinal, bool finalUpdate);
}
}