CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic interface IExtensionHandler : IDisposable
public interface class IExtensionHandler : IDisposable
The IExtensionHandler type exposes the following members.
Methods Name Description CanAccessBrowserCalled when the tabId associated with targetBrowser is specified to an extension API call that accepts a tabId parameter (e.g. chrome.tabs.*).
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) GetActiveBrowserCalled when no tabId is specified to an extension API call that accepts a tabId parameter (e.g. chrome.tabs.*).
GetExtensionResourceCalled to retrieve an extension resource that would normally be loaded from disk (e.g. if a file parameter is specified to chrome.tabs.executeScript). Localization substitutions will not be applied to resources handled via this method.
OnBeforeBackgroundBrowserCalled when an extension needs a browser to host a background script specified via the "background" manifest key. The browser will have no visible window and cannot be displayed. To allow creation of the browser optionally modify newBrowser and settings and return false. To cancel creation of the browser (and consequently cancel load of the background script) return true. Successful creation will be indicated by a call to ILifeSpanHandler.OnAfterCreated, and IBrowserHost.IsBackgroundHost will return true for the resulting browser. See https://developer.chrome.com/extensions/event_pages for more information about extension background script usage.
OnBeforeBrowserCalled when an extension API (e.g. chrome.tabs.create) requests creation of a new browser. Successful creation will be indicated by a call to
OnAfterCreated(IWebBrowser, IBrowser).
OnExtensionLoadedCalled if the
LoadExtension(String, String, IExtensionHandler)request succeeds.
OnExtensionLoadFailedCalled if the
LoadExtension(String, String, IExtensionHandler)request fails.
OnExtensionUnloadedCalled after the IExtension.Unload request has completed.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4