Chromium Embedded Framework (CEF) 148.0.4+ga59e378+chromium-148.0.7778.40
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().
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object.
 
virtual bool Release () const =0
 Called to decrement the reference count for the object.
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1.
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1.
 

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: