CEF4Delphi/docs/html/uCEFSchemeRegistrar.TCefSchemeRegistrarRef.html
2024-02-24 12:01:31 +01:00

63 lines
3.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>cef4delphi: uCEFSchemeRegistrar: Class TCefSchemeRegistrarRef</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="TCefSchemeRegistrarRef"></span><h1 class="cio">Class TCefSchemeRegistrarRef</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">Fields</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="uCEFSchemeRegistrar.html">uCEFSchemeRegistrar</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCefSchemeRegistrarRef = class(<a class="normal" href="uCEFBaseScopedWrapper.TCEFBaseScopedWrapperRef.html">TCEFBaseScopedWrapperRef</a>)</code></p>
<h2 class="description">Description</h2>
<p>
Class that manages custom scheme registrations. </p>
<p>
<p>&lt;see href=&quot;<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_scheme_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_scheme_capi.h</a>&quot;&gt;CEF source file: /include/capi/cef_scheme_capi.h (cef_scheme_registrar_t))</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor"><a class="normal" href="uCEFBaseScopedWrapper.TCEFBaseScopedWrapperRef.html">TCEFBaseScopedWrapperRef</a></li>
<li class="thisitem">TCefSchemeRegistrarRef</li></ul><h2 class="overview">Overview</h2>
<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="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uCEFSchemeRegistrar.TCefSchemeRegistrarRef.html#AddCustomScheme-ustring-TCefSchemeOptions-">AddCustomScheme</a></strong>(const schemeName: <a href="uCEFTypes.html#ustring">ustring</a>; options : <a href="uCEFTypes.html#TCefSchemeOptions">TCefSchemeOptions</a>): Boolean;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</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="AddCustomScheme-ustring-TCefSchemeOptions-"></span><code>function <strong>AddCustomScheme</strong>(const schemeName: <a href="uCEFTypes.html#ustring">ustring</a>; options : <a href="uCEFTypes.html#TCefSchemeOptions">TCefSchemeOptions</a>): Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
<p>Register a custom scheme. This function should not be called for the built-in HTTP, HTTPS, FILE, FTP, ABOUT and DATA schemes.
<p>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).
<p></p>
<p>
<p>&lt;see&gt;See the CEF_SCHEME_OPTION_* constants in the uCEFConstants unit for possible values for |options|.)</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>