Interface ICefExtension

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefExtension = interface(ICefBaseRefCounted)

Description

Object representing an extension. Methods may be called on any thread unless otherwise indicated.

WARNING: This API is deprecated and will be removed in ~M127.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_extension_capi.h">CEF source file: /include/capi/cef_extension_capi.h (cef_extension_t))

Hierarchy

Overview

Methods

Public function GetIdentifier: ustring;
Public function GetPath: ustring;
Public function GetManifest: ICefDictionaryValue;
Public function IsSame(const that : ICefExtension) : boolean;
Public function GetHandler: ICefExtensionHandler;
Public function GetLoaderContext: ICefRequestContext;
Public function IsLoaded: boolean;
Public procedure unload;
Public function GetBrowserActionPopup: ustring;
Public function GetBrowserActionIcon: ustring;
Public function GetPageActionPopup: ustring;
Public function GetPageActionIcon: ustring;
Public function GetOptionsPage: ustring;
Public function GetOptionsUIPage: ustring;
Public function GetBackgroundPage: ustring;
Public function GetURL: ustring;

Properties

Public property Identifier : ustring read GetIdentifier;
Public property Path : ustring read GetPath;
Public property Manifest : ICefDictionaryValue read GetManifest;
Public property Handler : ICefExtensionHandler read GetHandler;
Public property LoaderContext : ICefRequestContext read GetLoaderContext;
Public property BrowserActionPopup : ustring read GetBrowserActionPopup;
Public property BrowserActionIcon : ustring read GetBrowserActionIcon;
Public property PageActionPopup : ustring read GetPageActionPopup;
Public property PageActionIcon : ustring read GetPageActionIcon;
Public property OptionsPage : ustring read GetOptionsPage;
Public property OptionsUIPage : ustring read GetOptionsUIPage;
Public property BackgroundPage : ustring read GetBackgroundPage;
Public property URL : ustring read GetURL;

Description

Methods

Public function GetIdentifier: ustring;

Returns the unique extension identifier. This is calculated based on the extension public key, if available, or on the extension path. See https://developer.chrome.com/extensions/manifest/key for details.

Attributes
GUID['{D30D1C64-A26F-49C0-AEB7-C55EC68951CA}']
Public function GetPath: ustring;

Returns the absolute path to the extension directory on disk. This value will be prefixed with PK_DIR_RESOURCES if a relative path was passed to ICefRequestContext.LoadExtension.

Public function GetManifest: ICefDictionaryValue;

Returns the extension manifest contents as a ICefDictionaryValue object. See https://developer.chrome.com/extensions/manifest for details.

Public function IsSame(const that : ICefExtension) : boolean;

Returns true (1) if this object is the same extension as |that| object. Extensions are considered the same if identifier, path and loader context match.

Public function GetHandler: ICefExtensionHandler;

Returns the handler for this extension. Will return NULL for internal extensions or if no handler was passed to ICefRequestContext.LoadExtension.

Public function GetLoaderContext: ICefRequestContext;

Returns the request context that loaded this extension. Will return NULL for internal extensions or if the extension has been unloaded. See the ICefRequestContext.LoadExtension documentation for more information about loader contexts. Must be called on the browser process UI thread.

Public function IsLoaded: boolean;

Returns true (1) if this extension is currently loaded. Must be called on the browser process UI thread.

Public procedure unload;

Unload this extension if it is not an internal extension and is currently loaded. Will result in a call to ICefExtensionHandler.OnExtensionUnloaded on success.

Public function GetBrowserActionPopup: ustring;

This item has no description.

Public function GetBrowserActionIcon: ustring;

This item has no description.

Public function GetPageActionPopup: ustring;

This item has no description.

Public function GetPageActionIcon: ustring;

This item has no description.

Public function GetOptionsPage: ustring;

This item has no description.

Public function GetOptionsUIPage: ustring;

This item has no description.

Public function GetBackgroundPage: ustring;

This item has no description.

Public function GetURL: ustring;

This item has no description.

Properties

Public property Identifier : ustring read GetIdentifier;

Returns the unique extension identifier. This is calculated based on the extension public key, if available, or on the extension path. See https://developer.chrome.com/extensions/manifest/key for details.

Public property Path : ustring read GetPath;

Returns the absolute path to the extension directory on disk. This value will be prefixed with PK_DIR_RESOURCES if a relative path was passed to ICefRequestContext.LoadExtension.

Public property Manifest : ICefDictionaryValue read GetManifest;

Returns the extension manifest contents as a ICefDictionaryValue object. See https://developer.chrome.com/extensions/manifest for details.

Public property Handler : ICefExtensionHandler read GetHandler;

Returns the handler for this extension. Will return NULL for internal extensions or if no handler was passed to ICefRequestContext.LoadExtension.

Public property LoaderContext : ICefRequestContext read GetLoaderContext;

Returns the request context that loaded this extension. Will return NULL for internal extensions or if the extension has been unloaded. See the ICefRequestContext.LoadExtension documentation for more information about loader contexts. Must be called on the browser process UI thread.

Public property BrowserActionPopup : ustring read GetBrowserActionPopup;

This item has no description.

Public property BrowserActionIcon : ustring read GetBrowserActionIcon;

This item has no description.

Public property PageActionPopup : ustring read GetPageActionPopup;

This item has no description.

Public property PageActionIcon : ustring read GetPageActionIcon;

This item has no description.

Public property OptionsPage : ustring read GetOptionsPage;

This item has no description.

Public property OptionsUIPage : ustring read GetOptionsUIPage;

This item has no description.

Public property BackgroundPage : ustring read GetBackgroundPage;

This item has no description.

Public property URL : ustring read GetURL;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.