CEF4Delphi/docs/html/uCEFTypes.TCefExtensionHandler.html

148 lines
13 KiB
HTML
Raw Normal View History

2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>cef4delphi: uCEFTypes: Record TCefExtensionHandler</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCefExtensionHandler"></span><h1 class="cio">Record TCefExtensionHandler</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Hierarchy</div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section">Methods</div><div class="one_section">Properties</div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uCEFTypes.html">uCEFTypes</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCefExtensionHandler = record</code></p>
<h2 class="description">Description</h2>
<p>
Implement this structure to handle events related to browser extensions. The functions of this structure will be called on the UI thread. See ICefRequestContext.LoadExtension for information about extension loading. </p>
<p>
2024-05-28 15:50:48 +02:00
<p>WARNING: This API is deprecated and will be removed in ~M127.
2024-02-24 12:01:31 +01:00
<p>Implemented by ICefExtensionHandler.
<p>&lt;see href=&quot;<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_extension_handler_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_extension_handler_capi.h</a>&quot;&gt;CEF source file: /include/capi/cef_extension_handler_capi.h (cef_extension_handler_t))</p>
<h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#base">base</a></strong>: <a href="uCEFTypes.TCefBaseRefCounted.html">TCefBaseRefCounted</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#on_extension_load_failed">on_extension_load_failed</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; result: <a href="uCEFTypes.html#TCefErrorCode">TCefErrorcode</a>); stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#on_extension_loaded">on_extension_loaded</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>); stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#on_extension_unloaded">on_extension_unloaded</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>); stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#on_before_background_browser">on_before_background_browser</a></strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; const url: <a href="uCEFTypes.html#PCefString">PCefString</a>; var client: <a href="uCEFTypes.html#PCefClient">PCefClient</a>; settings: <a href="uCEFTypes.html#PCefBrowserSettings">PCefBrowserSettings</a>) : Integer; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#on_before_browser">on_before_browser</a></strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser, active_browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; index: Integer; const url: <a href="uCEFTypes.html#PCefString">PCefString</a>; active: Integer; windowInfo: <a href="uCEFTypes.html#PCefWindowInfo">PCefWindowInfo</a>; var client: <a href="uCEFTypes.html#PCefClient">PCefClient</a>; settings: <a href="uCEFTypes.html#PCefBrowserSettings">PCefBrowserSettings</a>) : Integer; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#get_active_browser">get_active_browser</a></strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; include_incognito: Integer): <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#can_access_browser">can_access_browser</a></strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; include_incognito: Integer; target_browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>): Integer; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefExtensionHandler.html#get_extension_resource">get_extension_resource</a></strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; const file_: <a href="uCEFTypes.html#PCefString">PCefString</a>; callback: <a href="uCEFTypes.html#PCefGetExtensionResourceCallback">PCefGetExtensionResourceCallback</a>): Integer; stdcall;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="base"></span><code><strong>base</strong>: <a href="uCEFTypes.TCefBaseRefCounted.html">TCefBaseRefCounted</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="on_extension_load_failed"></span><code><strong>on_extension_load_failed</strong>: procedure(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; result: <a href="uCEFTypes.html#TCefErrorCode">TCefErrorcode</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="on_extension_loaded"></span><code><strong>on_extension_loaded</strong>: procedure(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="on_extension_unloaded"></span><code><strong>on_extension_unloaded</strong>: procedure(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>); stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="on_before_background_browser"></span><code><strong>on_before_background_browser</strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; const url: <a href="uCEFTypes.html#PCefString">PCefString</a>; var client: <a href="uCEFTypes.html#PCefClient">PCefClient</a>; settings: <a href="uCEFTypes.html#PCefBrowserSettings">PCefBrowserSettings</a>) : Integer; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="on_before_browser"></span><code><strong>on_before_browser</strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser, active_browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; index: Integer; const url: <a href="uCEFTypes.html#PCefString">PCefString</a>; active: Integer; windowInfo: <a href="uCEFTypes.html#PCefWindowInfo">PCefWindowInfo</a>; var client: <a href="uCEFTypes.html#PCefClient">PCefClient</a>; settings: <a href="uCEFTypes.html#PCefBrowserSettings">PCefBrowserSettings</a>) : Integer; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="get_active_browser"></span><code><strong>get_active_browser</strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; include_incognito: Integer): <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="can_access_browser"></span><code><strong>can_access_browser</strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; include_incognito: Integer; target_browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>): Integer; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="get_extension_resource"></span><code><strong>get_extension_resource</strong>: function(self: <a href="uCEFTypes.html#PCefExtensionHandler">PCefExtensionHandler</a>; extension: <a href="uCEFTypes.html#PCefExtension">PCefExtension</a>; browser: <a href="uCEFTypes.html#PCefBrowser">PCefBrowser</a>; const file_: <a href="uCEFTypes.html#PCefString">PCefString</a>; callback: <a href="uCEFTypes.html#PCefGetExtensionResourceCallback">PCefGetExtensionResourceCallback</a>): Integer; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>