You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-07-02 22:26:53 +02:00
Update to CEF 128.4.8
This commit is contained in:
@ -87,57 +87,37 @@
|
||||
</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="uCEFInterfaces.ICefRequestContext.html#LoadExtension-ustring-ICefDictionaryValue-ICefExtensionHandler-">LoadExtension</a></strong>(const root_directory: <a href="uCEFTypes.html#ustring">ustring</a>; const manifest: <a href="uCEFInterfaces.ICefDictionaryValue.html">ICefDictionaryValue</a>; const handler: <a href="uCEFInterfaces.ICefExtensionHandler.html">ICefExtensionHandler</a>);</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>function <strong><a href="uCEFInterfaces.ICefRequestContext.html#DidLoadExtension-ustring-">DidLoadExtension</a></strong>(const extension_id: <a href="uCEFTypes.html#ustring">ustring</a>): boolean;</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>function <strong><a href="uCEFInterfaces.ICefRequestContext.html#HasExtension-ustring-">HasExtension</a></strong>(const extension_id: <a href="uCEFTypes.html#ustring">ustring</a>): boolean;</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>function <strong><a href="uCEFInterfaces.ICefRequestContext.html#GetExtensions-TStringList-">GetExtensions</a></strong>(const extension_ids: TStringList): boolean;</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>function <strong><a href="uCEFInterfaces.ICefRequestContext.html#GetExtension-ustring-">GetExtension</a></strong>(const extension_id: <a href="uCEFTypes.html#ustring">ustring</a>): <a href="uCEFInterfaces.ICefExtension.html">ICefExtension</a>;</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>function <strong><a href="uCEFInterfaces.ICefRequestContext.html#GetMediaRouter-ICefCompletionCallback-">GetMediaRouter</a></strong>(const callback: <a href="uCEFInterfaces.ICefCompletionCallback.html">ICefCompletionCallback</a>): <a href="uCEFInterfaces.ICefMediaRouter.html">ICefMediaRouter</a>;</code></td>
|
||||
</tr>
|
||||
<tr class="list2">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#GetWebsiteSetting-ustring-ustring-TCefContentSettingTypes-">GetWebsiteSetting</a></strong>(const requesting_url, top_level_url: <a href="uCEFTypes.html#ustring">ustring</a>; content_type: <a href="uCEFTypes.html#TCefContentSettingTypes">TCefContentSettingTypes</a>): <a href="uCEFInterfaces.ICefValue.html">ICefValue</a>;</code></td>
|
||||
</tr>
|
||||
<tr class="list">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#SetWebsiteSetting-ustring-ustring-TCefContentSettingTypes-ICefValue-">SetWebsiteSetting</a></strong>(const requesting_url, top_level_url: <a href="uCEFTypes.html#ustring">ustring</a>; content_type: <a href="uCEFTypes.html#TCefContentSettingTypes">TCefContentSettingTypes</a>; const value: <a href="uCEFInterfaces.ICefValue.html">ICefValue</a>);</code></td>
|
||||
</tr>
|
||||
<tr class="list2">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#GetContentSetting-ustring-ustring-TCefContentSettingTypes-">GetContentSetting</a></strong>(const requesting_url, top_level_url: <a href="uCEFTypes.html#ustring">ustring</a>; content_type: <a href="uCEFTypes.html#TCefContentSettingTypes">TCefContentSettingTypes</a>): <a href="uCEFTypes.html#TCefContentSettingValues">TCefContentSettingValues</a>;</code></td>
|
||||
</tr>
|
||||
<tr class="list">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#SetContentSetting-ustring-ustring-TCefContentSettingTypes-TCefContentSettingValues-">SetContentSetting</a></strong>(const requesting_url, top_level_url: <a href="uCEFTypes.html#ustring">ustring</a>; content_type: <a href="uCEFTypes.html#TCefContentSettingTypes">TCefContentSettingTypes</a>; value: <a href="uCEFTypes.html#TCefContentSettingValues">TCefContentSettingValues</a>);</code></td>
|
||||
</tr>
|
||||
<tr class="list2">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#SetChromeColorScheme-TCefColorVariant-TCefColor-">SetChromeColorScheme</a></strong>(variant: <a href="uCEFTypes.html#TCefColorVariant">TCefColorVariant</a>; user_color: <a href="uCEFTypes.html#TCefColor">TCefColor</a>);</code></td>
|
||||
</tr>
|
||||
<tr class="list">
|
||||
<tr class="list2">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#GetChromeColorSchemeMode">GetChromeColorSchemeMode</a></strong>: <a href="uCEFTypes.html#TCefColorVariant">TCefColorVariant</a>;</code></td>
|
||||
</tr>
|
||||
<tr class="list2">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#GetChromeColorSchemeColor">GetChromeColorSchemeColor</a></strong>: <a href="uCEFTypes.html#TCefColor">TCefColor</a>;</code></td>
|
||||
</tr>
|
||||
<tr class="list">
|
||||
<tr class="list2">
|
||||
<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="uCEFInterfaces.ICefRequestContext.html#GetChromeColorSchemeVariant">GetChromeColorSchemeVariant</a></strong>: <a href="uCEFTypes.html#TCefColorVariant">TCefColorVariant</a>;</code></td>
|
||||
</tr>
|
||||
@ -305,80 +285,6 @@
|
||||
<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="LoadExtension-ustring-ICefDictionaryValue-ICefExtensionHandler-"></span><code>procedure <strong>LoadExtension</strong>(const root_directory: <a href="uCEFTypes.html#ustring">ustring</a>; const manifest: <a href="uCEFInterfaces.ICefDictionaryValue.html">ICefDictionaryValue</a>; const handler: <a href="uCEFInterfaces.ICefExtensionHandler.html">ICefExtensionHandler</a>);</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
Load an extension.
|
||||
|
||||
<p>If extension resources will be read from disk using the default load implementation then |root_directory| should be the absolute path to the extension resources directory and |manifest| should be NULL. If extension resources will be provided by the client (e.g. via ICefRequestHandler and/or ICefExtensionHandler) then |root_directory| should be a path component unique to the extension (if not absolute this will be internally prefixed with the PK_DIR_RESOURCES path) and |manifest| should contain the contents that would otherwise be read from the "manifest.json" file on disk.
|
||||
|
||||
<p>The loaded extension will be accessible in all contexts sharing the same storage (HasExtension returns true (1)). However, only the context on which this function was called is considered the loader (DidLoadExtension returns true (1)) and only the loader will receive ICefRequestContextHandler callbacks for the extension.
|
||||
|
||||
<p>ICefExtensionHandler.OnExtensionLoaded will be called on load success or ICefExtensionHandler.OnExtensionLoadFailed will be called on load failure.
|
||||
|
||||
<p>If the extension specifies a background script via the "background" manifest key then ICefExtensionHandler.OnBeforeBackgroundBrowser will be called to create the background browser. See that function for additional information about background scripts.
|
||||
|
||||
<p>For visible extension views the client application should evaluate the manifest to determine the correct extension URL to load and then pass that URL to the ICefBrowserHost.CreateBrowser* function after the extension has loaded. For example, the client can look for the "browser_action" manifest key as documented at <a href="https://developer.chrome.com/extensions/browserAction">https://developer.chrome.com/extensions/browserAction</a>. Extension URLs take the form "chrome-<a href="extension://">extension://</a><extension_id>/<path>".
|
||||
|
||||
<p>Browsers that host extensions differ from normal browsers as follows: - Can access chrome.* JavaScript APIs if allowed by the manifest. Visit <a href="chrome://extensions-support">chrome://extensions-support</a> for the list of extension APIs currently supported by CEF. - Main frame navigation to non-extension content is blocked. - Pinch-zooming is disabled. - CefBrowserHost::GetExtension returns the hosted extension. - CefBrowserHost::IsBackgroundHost returns true for background hosts.
|
||||
|
||||
<p>See <a href="https://developer.chrome.com/extensions">https://developer.chrome.com/extensions</a> for extension implementation and usage documentation.
|
||||
|
||||
<p>WARNING: This function is deprecated and will be removed in ~M127. </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="DidLoadExtension-ustring-"></span><code>function <strong>DidLoadExtension</strong>(const extension_id: <a href="uCEFTypes.html#ustring">ustring</a>): boolean;</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
Returns true (1) if this context was used to load the extension identified by |extension_id|. Other contexts sharing the same storage will also have access to the extension (see HasExtension). This function must be called on the browser process UI thread.
|
||||
|
||||
<p>WARNING: This function is deprecated and will be removed in ~M127. </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="HasExtension-ustring-"></span><code>function <strong>HasExtension</strong>(const extension_id: <a href="uCEFTypes.html#ustring">ustring</a>): boolean;</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
Returns true (1) if this context has access to the extension identified by |extension_id|. This may not be the context that was used to load the extension (see DidLoadExtension). This function must be called on the browser process UI thread.
|
||||
|
||||
<p>WARNING: This function is deprecated and will be removed in ~M127. </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="GetExtensions-TStringList-"></span><code>function <strong>GetExtensions</strong>(const extension_ids: TStringList): boolean;</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
Retrieve the list of all extensions that this context has access to (see HasExtension). |extension_ids| will be populated with the list of extension ID values. Returns true (1) on success. This function must be called on the browser process UI thread.
|
||||
|
||||
<p>WARNING: This function is deprecated and will be removed in ~M127. </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="GetExtension-ustring-"></span><code>function <strong>GetExtension</strong>(const extension_id: <a href="uCEFTypes.html#ustring">ustring</a>): <a href="uCEFInterfaces.ICefExtension.html">ICefExtension</a>;</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
<p>
|
||||
Returns the extension matching |extension_id| or NULL if no matching extension is accessible in this context (see HasExtension). This function must be called on the browser process UI thread.
|
||||
|
||||
<p>WARNING: This function is deprecated and will be removed in ~M127. </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="GetMediaRouter-ICefCompletionCallback-"></span><code>function <strong>GetMediaRouter</strong>(const callback: <a href="uCEFInterfaces.ICefCompletionCallback.html">ICefCompletionCallback</a>): <a href="uCEFInterfaces.ICefMediaRouter.html">ICefMediaRouter</a>;</code></td>
|
||||
</tr>
|
||||
<tr><td colspan="2">
|
||||
|
Reference in New Issue
Block a user