101 lines
3.5 KiB
C++
101 lines
3.5 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFFocusHandler.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFFocusHandlerHPP
|
|
#define uCEFFocusHandlerHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <uCEFBaseRefCounted.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Uceffocushandler
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefFocusHandlerOwn;
|
|
class DELPHICLASS TCustomFocusHandler;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefFocusHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual void __fastcall OnTakeFocus(const Ucefinterfaces::_di_ICefBrowser browser, bool next);
|
|
virtual bool __fastcall OnSetFocus(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFocusSource source);
|
|
virtual void __fastcall OnGotFocus(const Ucefinterfaces::_di_ICefBrowser browser);
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCefFocusHandlerOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFocusHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFocusHandlerOwn() { }
|
|
|
|
private:
|
|
void *__ICefFocusHandler; // Ucefinterfaces::ICefFocusHandler
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {BB7FA3FA-7B1A-4ADC-8E50-12A24018DD90}
|
|
operator Ucefinterfaces::_di_ICefFocusHandler()
|
|
{
|
|
Ucefinterfaces::_di_ICefFocusHandler intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefFocusHandler*(void) { return (Ucefinterfaces::ICefFocusHandler*)&__ICefFocusHandler; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCustomFocusHandler : public TCefFocusHandlerOwn
|
|
{
|
|
typedef TCefFocusHandlerOwn inherited;
|
|
|
|
protected:
|
|
void *FEvents;
|
|
virtual void __fastcall OnTakeFocus(const Ucefinterfaces::_di_ICefBrowser browser, bool next);
|
|
virtual bool __fastcall OnSetFocus(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFocusSource source);
|
|
virtual void __fastcall OnGotFocus(const Ucefinterfaces::_di_ICefBrowser browser);
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCustomFocusHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
|
__fastcall virtual ~TCustomFocusHandler();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomFocusHandler(unsigned size, bool owned) : TCefFocusHandlerOwn(size, owned) { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Uceffocushandler */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFOCUSHANDLER)
|
|
using namespace Uceffocushandler;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFFocusHandlerHPP
|