Click or drag to resize
CfxBrowser Class

[This is preliminary documentation and is subject to change.]

Structure used to represent a browser window. When used in the browser process the functions of this structure may be called on any thread unless otherwise indicated in the comments. When used in the render process the functions of this structure may only be called on the main thread.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxLibraryBase
        ChromiumCfxBrowser

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxBrowser : CfxLibraryBase

The CfxBrowser type exposes the following members.

Properties
  NameDescription
Public propertyCanGoBack
Returns true (1) if the browser can navigate backwards.
Public propertyCanGoForward
Returns true (1) if the browser can navigate forwards.
Public propertyFocusedFrame
Returns the focused frame for the browser window.
Public propertyFrameCount
Returns the number of frames that currently exist.
Public propertyFrameIdentifiers
Returns the identifiers of all existing frames.
Public propertyHasDocument
Returns true (1) if a document has been loaded in the browser.
Public propertyHost
Returns the browser host object. This function can only be called in the browser process.
Public propertyIdentifier
Returns the globally unique identifier for this browser.
Public propertyIsLoading
Returns true (1) if the browser is currently loading.
Public propertyIsPopup
Returns true (1) if the window is a popup window.
Public propertyMainFrame
Returns the main (top-level) frame for the browser window.
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted library struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxLibraryBase.)
Top
Methods
  NameDescription
Public methodGetFrame(Int64)
Returns the frame with the specified identifier, or NULL if not found.
Public methodGetFrame(String)
Returns the frame with the specified name, or NULL if not found.
Public methodGetFrameNames
Returns the names of all existing frames.
Public methodGoBack
Navigate backwards.
Public methodGoForward
Navigate forwards.
Public methodIsSame
Returns true (1) if this object is pointing to the same handle as |that| object.
Public methodReload
Reload the current page.
Public methodReloadIgnoreCache
Reload the current page ignoring any cached data.
Public methodSendProcessMessage
Send a message to the specified |targetProcess|. Returns true (1) if the message was sent successfully.
Public methodStopLoad
Stop loading the page.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_browser_capi.h.
See Also