mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-16 00:05:55 +01:00
116 lines
10 KiB
HTML
116 lines
10 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>cef4delphi: uCEFRequestContextHandler: Class TCustomRequestContextHandler</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="TCustomRequestContextHandler"></span><h1 class="cio">Class TCustomRequestContextHandler</h1>
|
||
|
<div class="sections">
|
||
|
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</div></div>
|
||
|
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
|
||
|
<p class="unitlink">
|
||
|
<a href="uCEFRequestContextHandler.html">uCEFRequestContextHandler</a></p>
|
||
|
<h2 class="declaration">Declaration</h2>
|
||
|
<p class="declaration">
|
||
|
<code>type TCustomRequestContextHandler = class(<a class="normal" href="uCEFRequestContextHandler.TCefRequestContextHandlerOwn.html">TCefRequestContextHandlerOwn</a>)</code></p>
|
||
|
<h2 class="description">Description</h2>
|
||
|
<p class="nodescription">This item has no description.</p><span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
|
||
|
<ul class="hierarchy"><li class="ancestor">TInterfacedObject</li>
|
||
|
<li class="ancestor"><a class="normal" href="uCEFBaseRefCounted.TCefBaseRefCountedOwn.html">TCefBaseRefCountedOwn</a></li>
|
||
|
<li class="ancestor"><a class="normal" href="uCEFRequestContextHandler.TCefRequestContextHandlerOwn.html">TCefRequestContextHandlerOwn</a></li>
|
||
|
<li class="thisitem">TCustomRequestContextHandler</li></ul><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="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code><strong><a href="uCEFRequestContextHandler.TCustomRequestContextHandler.html#FEvents">FEvents</a></strong>: Pointer;</code></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
|
||
|
<table class="summary wide_list">
|
||
|
<tr class="list">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code>procedure <strong><a href="uCEFRequestContextHandler.TCustomRequestContextHandler.html#OnRequestContextInitialized-ICefRequestContext-">OnRequestContextInitialized</a></strong>(const request_context: <a href="uCEFInterfaces.ICefRequestContext.html">ICefRequestContext</a>); override;</code></td>
|
||
|
</tr>
|
||
|
<tr class="list2">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><code>procedure <strong><a href="uCEFRequestContextHandler.TCustomRequestContextHandler.html#GetResourceRequestHandler-ICefBrowser-ICefFrame-ICefRequest-boolean-boolean-ustring-boolean-ICefResourceRequestHandler-">GetResourceRequestHandler</a></strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; const frame: <a href="uCEFInterfaces.ICefFrame.html">ICefFrame</a>; const request: <a href="uCEFInterfaces.ICefRequest.html">ICefRequest</a>; is_navigation, is_download: boolean; const request_initiator: <a href="uCEFTypes.html#ustring">ustring</a>; var disable_default_handling: boolean; var aResourceRequestHandler : <a href="uCEFInterfaces.ICefResourceRequestHandler.html">ICefResourceRequestHandler</a>); override;</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>constructor <strong><a href="uCEFRequestContextHandler.TCustomRequestContextHandler.html#Create-IChromiumEvents-">Create</a></strong>(const events : <a href="uCEFInterfaces.IChromiumEvents.html">IChromiumEvents</a>); reintroduce; virtual;</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>procedure <strong><a href="uCEFRequestContextHandler.TCustomRequestContextHandler.html#BeforeDestruction">BeforeDestruction</a></strong>; override;</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>procedure <strong><a href="uCEFRequestContextHandler.TCustomRequestContextHandler.html#RemoveReferences">RemoveReferences</a></strong>; override;</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="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><span id="FEvents"></span><code><strong>FEvents</strong>: Pointer;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="nodescription">This item has no description.</p></td></tr>
|
||
|
</table>
|
||
|
<h3 class="detail">Methods</h3>
|
||
|
<table class="detail wide_list">
|
||
|
<tr class="list">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><span id="OnRequestContextInitialized-ICefRequestContext-"></span><code>procedure <strong>OnRequestContextInitialized</strong>(const request_context: <a href="uCEFInterfaces.ICefRequestContext.html">ICefRequestContext</a>); override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uCEFInterfaces.ICefRequestContextHandler.html#OnRequestContextInitialized-ICefRequestContext-">ICefRequestContextHandler.OnRequestContextInitialized</a>.</p><p>
|
||
|
Called on the browser process UI thread immediately after the request context has been initialized. </p>
|
||
|
</td></tr>
|
||
|
</table>
|
||
|
<table class="detail wide_list">
|
||
|
<tr class="list">
|
||
|
<td class="visibility"><a href="legend.html"><img src="protected.gif" alt="Protected" title="Protected"></a></td>
|
||
|
<td class="itemcode"><span id="GetResourceRequestHandler-ICefBrowser-ICefFrame-ICefRequest-boolean-boolean-ustring-boolean-ICefResourceRequestHandler-"></span><code>procedure <strong>GetResourceRequestHandler</strong>(const browser: <a href="uCEFInterfaces.ICefBrowser.html">ICefBrowser</a>; const frame: <a href="uCEFInterfaces.ICefFrame.html">ICefFrame</a>; const request: <a href="uCEFInterfaces.ICefRequest.html">ICefRequest</a>; is_navigation, is_download: boolean; const request_initiator: <a href="uCEFTypes.html#ustring">ustring</a>; var disable_default_handling: boolean; var aResourceRequestHandler : <a href="uCEFInterfaces.ICefResourceRequestHandler.html">ICefResourceRequestHandler</a>); override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uCEFInterfaces.ICefRequestContextHandler.html#GetResourceRequestHandler-ICefBrowser-ICefFrame-ICefRequest-boolean-boolean-ustring-boolean-ICefResourceRequestHandler-">ICefRequestContextHandler.GetResourceRequestHandler</a>.</p><p>
|
||
|
Called on the browser process IO thread before a resource request is initiated. The |browser| and |frame| values represent the source of the request, and may be NULL for requests originating from service workers or ICefUrlRequest. |request| represents the request contents and cannot be modified in this callback. |is_navigation| will be true (1) if the resource request is a navigation. |is_download| will be true (1) if the resource request is a download. |request_initiator| is the origin (scheme + domain) of the page that initiated the request. Set |disable_default_handling| to true (1) to disable default handling of the request, in which case it will need to be handled via ICefResourceRequestHandler.GetResourceHandler or it will be canceled. To allow the resource load to proceed with default handling return NULL. To specify a handler for the resource return a ICefResourceRequestHandler object. This function will not be called if the client associated with |browser| returns a non-NULL value from ICefRequestHandler.GetResourceRequestHandler for the same request (identified by ICefRequest.GetIdentifier). </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="Create-IChromiumEvents-"></span><code>constructor <strong>Create</strong>(const events : <a href="uCEFInterfaces.IChromiumEvents.html">IChromiumEvents</a>); reintroduce; virtual;</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="BeforeDestruction"></span><code>procedure <strong>BeforeDestruction</strong>; override;</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="RemoveReferences"></span><code>procedure <strong>RemoveReferences</strong>; override;</code></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2">
|
||
|
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uCEFInterfaces.ICefRequestContextHandler.html#RemoveReferences">ICefRequestContextHandler.RemoveReferences</a>.</p><p>
|
||
|
Custom procedure to clear all references. </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>
|