Chromium Embedded Framework (CEF)  130.1.2+g48f3ef6+chromium-130.0.6723.44
CefFindHandler Class Reference

Implement this interface to handle events related to find results. More...

#include "include/cef_find_handler.h"

Inheritance diagram for CefFindHandler:
CefBaseRefCounted

Public Member Functions

virtual void OnFindResult (CefRefPtr< CefBrowser > browser, int identifier, int count, const CefRect &selectionRect, int activeMatchOrdinal, bool finalUpdate)
 Called to report find results returned by CefBrowserHost::Find(). More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Implement this interface to handle events related to find results.

The methods of this class will be called on the UI thread.

Member Function Documentation

◆ OnFindResult()

virtual void CefFindHandler::OnFindResult ( CefRefPtr< CefBrowser browser,
int  identifier,
int  count,
const CefRect selectionRect,
int  activeMatchOrdinal,
bool  finalUpdate 
)
inlinevirtual

Called to report find results returned by CefBrowserHost::Find().

|identifer| is a unique incremental identifier for the currently active search, |count| is the number of matches currently identified, |selectionRect| is the location of where the match was found (in window coordinates), |activeMatchOrdinal| is the current position in the search results, and |finalUpdate| is true if this is the last find notification.


The documentation for this class was generated from the following file: