Initial commit
This commit is contained in:
@@ -0,0 +1,161 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFRequestContext.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFRequestContextHPP
|
||||
#define uCEFRequestContextHPP
|
||||
|
||||
#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 <System.Classes.hpp>
|
||||
#include <System.SysUtils.hpp>
|
||||
#include <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFCompletionCallback.hpp>
|
||||
#include <uCEFPreferenceManager.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefrequestcontext
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefRequestContextRef;
|
||||
class DELPHICLASS TCefClearCertificateExceptionsCompletionCallback;
|
||||
class DELPHICLASS TCefClearHttpAuthCredentialsCompletionCallback;
|
||||
class DELPHICLASS TCefCloseAllConnectionsCompletionCallback;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefRequestContextRef : public Ucefpreferencemanager::TCefPreferenceManagerRef
|
||||
{
|
||||
typedef Ucefpreferencemanager::TCefPreferenceManagerRef inherited;
|
||||
|
||||
protected:
|
||||
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefRequestContext other);
|
||||
bool __fastcall IsSharingWith(const Ucefinterfaces::_di_ICefRequestContext other);
|
||||
bool __fastcall IsGlobal();
|
||||
Ucefinterfaces::_di_ICefRequestContextHandler __fastcall GetHandler();
|
||||
Uceftypes::ustring __fastcall GetCachePath();
|
||||
Ucefinterfaces::_di_ICefCookieManager __fastcall GetCookieManager(const Ucefinterfaces::_di_ICefCompletionCallback callback);
|
||||
Ucefinterfaces::_di_ICefCookieManager __fastcall GetCookieManagerProc(const Ucefinterfaces::_di_TCefCompletionCallbackProc callback);
|
||||
bool __fastcall RegisterSchemeHandlerFactory(const Uceftypes::ustring schemeName, const Uceftypes::ustring domainName, const Ucefinterfaces::_di_ICefSchemeHandlerFactory factory);
|
||||
bool __fastcall ClearSchemeHandlerFactories();
|
||||
void __fastcall ClearCertificateExceptions(const Ucefinterfaces::_di_ICefCompletionCallback callback);
|
||||
void __fastcall ClearHttpAuthCredentials(const Ucefinterfaces::_di_ICefCompletionCallback callback);
|
||||
void __fastcall CloseAllConnections(const Ucefinterfaces::_di_ICefCompletionCallback callback);
|
||||
void __fastcall ResolveHost(const Uceftypes::ustring origin, const Ucefinterfaces::_di_ICefResolveCallback callback);
|
||||
Ucefinterfaces::_di_ICefMediaRouter __fastcall GetMediaRouter(const Ucefinterfaces::_di_ICefCompletionCallback callback);
|
||||
Ucefinterfaces::_di_ICefValue __fastcall GetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type);
|
||||
void __fastcall SetWebsiteSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, const Ucefinterfaces::_di_ICefValue value);
|
||||
Uceftypes::TCefContentSettingValues __fastcall GetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type);
|
||||
void __fastcall SetContentSetting(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type, Uceftypes::TCefContentSettingValues value);
|
||||
void __fastcall SetChromeColorScheme(Uceftypes::TCefColorVariant variant, Uceftypes::TCefColor user_color);
|
||||
Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeMode();
|
||||
Uceftypes::TCefColor __fastcall GetChromeColorSchemeColor();
|
||||
Uceftypes::TCefColorVariant __fastcall GetChromeColorSchemeVariant();
|
||||
Ucefinterfaces::_di_ICefRegistration __fastcall AddSettingObserver(const Ucefinterfaces::_di_ICefSettingObserver observer);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall UnWrap(void * data);
|
||||
__classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall Global();
|
||||
__classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall New(const Uceftypes::PCefRequestContextSettings settings, const Ucefinterfaces::_di_ICefRequestContextHandler handler = Ucefinterfaces::_di_ICefRequestContextHandler())/* overload */;
|
||||
__classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall New(const Uceftypes::ustring aCache, const Uceftypes::ustring aAcceptLanguageList, const Uceftypes::ustring aCookieableSchemesList, bool aCookieableSchemesExcludeDefaults, bool aPersistSessionCookies, const Ucefinterfaces::_di_ICefRequestContextHandler handler = Ucefinterfaces::_di_ICefRequestContextHandler())/* overload */;
|
||||
__classmethod Ucefinterfaces::_di_ICefRequestContext __fastcall Shared(const Ucefinterfaces::_di_ICefRequestContext other, const Ucefinterfaces::_di_ICefRequestContextHandler handler);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRequestContextRef(void * data) : Ucefpreferencemanager::TCefPreferenceManagerRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRequestContextRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefRequestContext; // Ucefinterfaces::ICefRequestContext
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {5830847A-2971-4BD5-ABE6-21451F8923F7}
|
||||
operator Ucefinterfaces::_di_ICefRequestContext()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefRequestContext intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefRequestContext*(void) { return (Ucefinterfaces::ICefRequestContext*)&__ICefRequestContext; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefClearCertificateExceptionsCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback
|
||||
{
|
||||
typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnComplete();
|
||||
public:
|
||||
/* TCefCustomCompletionCallback.Create */ inline __fastcall TCefClearCertificateExceptionsCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { }
|
||||
/* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefClearCertificateExceptionsCompletionCallback() { }
|
||||
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefClearCertificateExceptionsCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefClearHttpAuthCredentialsCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback
|
||||
{
|
||||
typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnComplete();
|
||||
public:
|
||||
/* TCefCustomCompletionCallback.Create */ inline __fastcall TCefClearHttpAuthCredentialsCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { }
|
||||
/* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefClearHttpAuthCredentialsCompletionCallback() { }
|
||||
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefClearHttpAuthCredentialsCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefCloseAllConnectionsCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback
|
||||
{
|
||||
typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnComplete();
|
||||
public:
|
||||
/* TCefCustomCompletionCallback.Create */ inline __fastcall TCefCloseAllConnectionsCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { }
|
||||
/* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefCloseAllConnectionsCompletionCallback() { }
|
||||
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCloseAllConnectionsCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefrequestcontext */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFREQUESTCONTEXT)
|
||||
using namespace Ucefrequestcontext;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFRequestContextHPP
|
||||
Reference in New Issue
Block a user