You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-08-14 21:42:50 +02:00
Added more XML documentation.
This commit is contained in:
Binary file not shown.
@@ -4971,6 +4971,14 @@ type
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
ICefSchemeHandlerFactory = interface(ICefBaseRefCounted)
|
ICefSchemeHandlerFactory = interface(ICefBaseRefCounted)
|
||||||
['{4D9B7960-B73B-4EBD-9ABE-6C1C43C245EB}']
|
['{4D9B7960-B73B-4EBD-9ABE-6C1C43C245EB}']
|
||||||
|
/// <summary>
|
||||||
|
/// Return a new resource handler instance to handle the request or an NULL
|
||||||
|
/// reference to allow default handling of the request. |browser| and |frame|
|
||||||
|
/// will be the browser window and frame respectively that originated the
|
||||||
|
/// request or NULL if the request did not originate from a browser window
|
||||||
|
/// (for example, if the request came from ICefUrlRequest). The |request|
|
||||||
|
/// object passed to this function cannot be modified.
|
||||||
|
/// </summary>
|
||||||
function New(const browser: ICefBrowser; const frame: ICefFrame; const schemeName: ustring; const request: ICefRequest): ICefResourceHandler;
|
function New(const browser: ICefBrowser; const frame: ICefFrame; const schemeName: ustring; const request: ICefRequest): ICefResourceHandler;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@@ -15,8 +15,25 @@ uses
|
|||||||
uCEFBaseScopedWrapper, uCEFTypes, uCEFInterfaces;
|
uCEFBaseScopedWrapper, uCEFTypes, uCEFInterfaces;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
/// <summary>
|
||||||
|
/// Class that manages custom preference registrations.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_preference_capi.h">CEF source file: /include/capi/cef_preference_capi.h (cef_preference_registrar_t)</see></para>
|
||||||
|
/// </remarks>
|
||||||
TCefPreferenceRegistrarRef = class(TCEFBaseScopedWrapperRef)
|
TCefPreferenceRegistrarRef = class(TCEFBaseScopedWrapperRef)
|
||||||
public
|
public
|
||||||
|
/// <summary>
|
||||||
|
/// Register a preference with the specified |name| and |default_value|. To
|
||||||
|
/// avoid conflicts with built-in preferences the |name| value should contain
|
||||||
|
/// an application-specific prefix followed by a period (e.g. "myapp.value").
|
||||||
|
/// The contents of |default_value| will be copied. The data type for the
|
||||||
|
/// preference will be inferred from |default_value|'s type and cannot be
|
||||||
|
/// changed after registration. Returns true (1) on success. Returns false (0)
|
||||||
|
/// if |name| is already registered or if |default_value| has an invalid type.
|
||||||
|
/// This function must be called from within the scope of the
|
||||||
|
/// ICefBrowserProcessHandler.OnRegisterCustomPreferences callback.
|
||||||
|
/// </summary>
|
||||||
function AddPreference(const name: ustring; const default_value: ICefValue): Boolean;
|
function AddPreference(const name: ustring; const default_value: ICefValue): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@@ -15,13 +15,32 @@ uses
|
|||||||
uCEFBaseRefCounted, uCEFInterfaces, uCEFTypes, uCEFResourceHandler;
|
uCEFBaseRefCounted, uCEFInterfaces, uCEFTypes, uCEFResourceHandler;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
/// <summary>
|
||||||
|
/// Class that creates ICefResourceHandler instances for handling scheme
|
||||||
|
/// requests.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_scheme_capi.h">CEF source file: /include/capi/cef_scheme_capi.h (cef_scheme_handler_factory_t)</see></para>
|
||||||
|
/// </remarks>
|
||||||
TCefSchemeHandlerFactoryOwn = class(TCefBaseRefCountedOwn, ICefSchemeHandlerFactory)
|
TCefSchemeHandlerFactoryOwn = class(TCefBaseRefCountedOwn, ICefSchemeHandlerFactory)
|
||||||
protected
|
protected
|
||||||
FClass : TCefResourceHandlerClass;
|
FClass : TCefResourceHandlerClass;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Return a new resource handler instance to handle the request or an NULL
|
||||||
|
/// reference to allow default handling of the request. |browser| and |frame|
|
||||||
|
/// will be the browser window and frame respectively that originated the
|
||||||
|
/// request or NULL if the request did not originate from a browser window
|
||||||
|
/// (for example, if the request came from ICefUrlRequest). The |request|
|
||||||
|
/// object passed to this function cannot be modified.
|
||||||
|
/// </summary>
|
||||||
function New(const browser: ICefBrowser; const frame: ICefFrame; const schemeName: ustring; const request: ICefRequest): ICefResourceHandler; virtual;
|
function New(const browser: ICefBrowser; const frame: ICefFrame; const schemeName: ustring; const request: ICefRequest): ICefResourceHandler; virtual;
|
||||||
|
|
||||||
public
|
public
|
||||||
|
/// <summary>
|
||||||
|
/// Constructor of the scheme handler factory.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="AClass">Class of the custom resource handler used to handle custom scheme requests.</param>
|
||||||
constructor Create(const AClass: TCefResourceHandlerClass); virtual;
|
constructor Create(const AClass: TCefResourceHandlerClass); virtual;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@@ -15,8 +15,24 @@ uses
|
|||||||
uCEFBaseScopedWrapper, uCEFTypes;
|
uCEFBaseScopedWrapper, uCEFTypes;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
/// <summary>
|
||||||
|
/// Class that manages custom scheme registrations.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_scheme_capi.h">CEF source file: /include/capi/cef_scheme_capi.h (cef_scheme_registrar_t)</see></para>
|
||||||
|
/// </remarks>
|
||||||
TCefSchemeRegistrarRef = class(TCEFBaseScopedWrapperRef)
|
TCefSchemeRegistrarRef = class(TCEFBaseScopedWrapperRef)
|
||||||
public
|
public
|
||||||
|
/// <summary>
|
||||||
|
/// <para>Register a custom scheme. This function should not be called for the
|
||||||
|
/// built-in HTTP, HTTPS, FILE, FTP, ABOUT and DATA schemes.</para>
|
||||||
|
/// <para>This function may be called on any thread. It should only be called once
|
||||||
|
/// per unique |scheme_name| value. If |scheme_name| is already registered or
|
||||||
|
/// if an error occurs this function will return false (0).</para>
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// <para><see>See the CEF_SCHEME_OPTION_* constants in the uCEFConstants unit for possible values for |options|.</see></para>
|
||||||
|
/// </remarks>
|
||||||
function AddCustomScheme(const schemeName: ustring; options : TCefSchemeOptions): Boolean;
|
function AddCustomScheme(const schemeName: ustring; options : TCefSchemeOptions): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@@ -4949,7 +4949,7 @@ type
|
|||||||
/// Structure that manages custom preference registrations.
|
/// Structure that manages custom preference registrations.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>Implemented by ICefPreferenceRegistrar.</para>
|
/// <para>Implemented by TCefPreferenceRegistrarRef.</para>
|
||||||
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_preference_capi.h">CEF source file: /include/capi/cef_preference_capi.h (cef_preference_registrar_t)</see></para>
|
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_preference_capi.h">CEF source file: /include/capi/cef_preference_capi.h (cef_preference_registrar_t)</see></para>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
TCefPreferenceRegistrar = record
|
TCefPreferenceRegistrar = record
|
||||||
@@ -6028,7 +6028,7 @@ type
|
|||||||
/// Structure that manages custom scheme registrations.
|
/// Structure that manages custom scheme registrations.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>Implemented by ICefSchemeRegistrar.</para>
|
/// <para>Implemented by TCefSchemeRegistrarRef.</para>
|
||||||
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_scheme_capi.h">CEF source file: /include/capi/cef_scheme_capi.h (cef_scheme_registrar_t)</see></para>
|
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_scheme_capi.h">CEF source file: /include/capi/cef_scheme_capi.h (cef_scheme_registrar_t)</see></para>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
TCefSchemeRegistrar = record
|
TCefSchemeRegistrar = record
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 535,
|
"InternalVersion" : 536,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "118.6.9"
|
"Version" : "118.6.9"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user