# Class TCefBrowserRef

Description
Hierarchy
Methods

## Unit

uCEFBrowser

## Declaration

`type TCefBrowserRef = class(TCefBaseRefCountedRef, ICefBrowser)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefBrowserRef

## Overview

### Methods

Protected | `function IsValid: boolean;`
Protected | `function GetHost: ICefBrowserHost;`
Protected | `function CanGoBack: Boolean;`
Protected | `procedure GoBack;`
Protected | `function CanGoForward: Boolean;`
Protected | `procedure GoForward;`
Protected | `function IsLoading: Boolean;`
Protected | `procedure Reload;`
Protected | `procedure ReloadIgnoreCache;`
Protected | `procedure StopLoad;`
Protected | `function GetIdentifier: Integer;`
Protected | `function IsSame(const that: ICefBrowser): Boolean;`
Protected | `function IsPopup: Boolean;`
Protected | `function HasDocument: Boolean;`
Protected | `function GetMainFrame: ICefFrame;`
Protected | `function GetFocusedFrame: ICefFrame;`
Protected | `function GetFrameByIdentifier(const identifier: ustring): ICefFrame;`
Protected | `function GetFrameByName(const name: ustring): ICefFrame;`
Protected | `function GetFrameCount: NativeUInt;`
Protected | `function GetFrameIdentifiers(var aFrameIdentifiers : TStrings) : boolean;`
Protected | `function GetFrameNames(var aFrameNames : TStrings) : boolean;`
Public | `class function UnWrap(data: Pointer): ICefBrowser;`

## Description

### Methods

Protected | `function IsValid: boolean;`
This item has no description. Showing description inherited from ICefBrowser.IsValid. True if this object is currently valid. This will return false (0) after ICefLifeSpanHandler.OnBeforeClose is called.

Protected | `function GetHost: ICefBrowserHost;`
This item has no description. Showing description inherited from ICefBrowser.GetHost. Returns the browser host object. This function can only be called in the browser process.

Protected | `function CanGoBack: Boolean;`
This item has no description. Showing description inherited from ICefBrowser.CanGoBack. Returns true (1) if the browser can navigate backwards.

Protected | `procedure GoBack;`
This item has no description. Showing description inherited from ICefBrowser.GoBack. Navigate backwards.

Protected | `function CanGoForward: Boolean;`
This item has no description. Showing description inherited from ICefBrowser.CanGoForward. Returns true (1) if the browser can navigate forwards.

Protected | `procedure GoForward;`
This item has no description. Showing description inherited from ICefBrowser.GoForward. Navigate forwards.

Protected | `function IsLoading: Boolean;`
This item has no description. Showing description inherited from ICefBrowser.IsLoading. Returns true (1) if the browser is currently loading.

Protected | `procedure Reload;`
This item has no description. Showing description inherited from ICefBrowser.Reload. Reload the current page.

Protected | `procedure ReloadIgnoreCache;`
This item has no description. Showing description inherited from ICefBrowser.ReloadIgnoreCache. Reload the current page ignoring any cached data.

Protected | `procedure StopLoad;`
This item has no description. Showing description inherited from ICefBrowser.StopLoad. Stop loading the page.

Protected | `function GetIdentifier: Integer;`
This item has no description. Showing description inherited from ICefBrowser.GetIdentifier. Returns the globally unique identifier for this browser. This value is also used as the tabId for extension APIs.

Protected | `function IsSame(const that: ICefBrowser): Boolean;`
This item has no description. Showing description inherited from ICefBrowser.IsSame. Returns true (1) if this object is pointing to the same handle as |that| object.

Protected | `function IsPopup: Boolean;`
This item has no description. Showing description inherited from ICefBrowser.IsPopup. Returns true (1) if the browser is a popup.

Protected | `function HasDocument: Boolean;`
This item has no description. Showing description inherited from ICefBrowser.HasDocument. Returns true (1) if a document has been loaded in the browser.

Protected | `function GetMainFrame: ICefFrame;`
This item has no description. Showing description inherited from ICefBrowser.GetMainFrame. Returns the main (top-level) frame for the browser. In the browser process this will return a valid object until after ICefLifeSpanHandler.OnBeforeClose is called. In the renderer process this will return NULL if the main frame is hosted in a different renderer process (e.g. for cross-origin sub-frames). The main frame object will change during cross-origin navigation or re-navigation after renderer process termination (due to crashes, etc).

Protected | `function GetFocusedFrame: ICefFrame;`
This item has no description. Showing description inherited from ICefBrowser.GetFocusedFrame. Returns the focused frame for the browser.

Protected | `function GetFrameByIdentifier(const identifier: ustring): ICefFrame;`
This item has no description. Showing description inherited from ICefBrowser.GetFrameByIdentifier. Returns the frame with the specified identifier, or NULL if not found.

Protected | `function GetFrameByName(const name: ustring): ICefFrame;`
This item has no description. Showing description inherited from ICefBrowser.GetFrameByName. Returns the frame with the specified name, or NULL if not found.

Protected | `function GetFrameCount: NativeUInt;`
This item has no description. Showing description inherited from ICefBrowser.GetFrameCount. Returns the number of frames that currently exist.

Protected | `function GetFrameIdentifiers(var aFrameIdentifiers : TStrings) : boolean;`
This item has no description. Showing description inherited from ICefBrowser.GetFrameIdentifiers. Returns the identifiers of all existing frames.

Protected | `function GetFrameNames(var aFrameNames : TStrings) : boolean;`
This item has no description. Showing description inherited from ICefBrowser.GetFrameNames. Returns the names of all existing frames.

Public | `class function UnWrap(data: Pointer): ICefBrowser;`
This item has no description.

Generated by PasDoc 1.0.4.