CefBrowser - nomi-san/luacef GitHub Wiki
GetHost() -> <CefBrowserHost>
- Returns the browser host object. This method can only be called in the browser process.
CanGoBack() -> <bool>
- Returns true if the browser can navigate backwards.
GoBack()
- Navigate backwards.
CanGoForward() -> <bool>
- Returns true if the browser can navigate forwards.
GoForward()
- Navigate forwards.
IsLoading() -> <bool>
- Returns true if the browser is currently loading.
Reload()
- Reload the current page.
ReloadIgnoreCache()
- Reload the current page ignoring any cached data.
StopLoad()
- Stop loading the page.
GetIdentifier() -> <int>
- Returns the globally unique identifier for this browser. This value is also used as the tabId for extension APIs.
IsSame(<CefBrowser> that) -> <bool>
- Returns true if this object is pointing to the same handle as |that| object.
IsPopup() -> <bool>
- Returns true if the window is a popup window.
HasDocument() -> <bool>
- Returns true if a document has been loaded in the browser.
GetMainFrame() -> <CefFrame>
- Returns the main (top-level) frame for the browser window.
`GetFocusedFrame() -> ;
- Returns the focused frame for the browser window.
GetFrame(<int> identifier) -> <CefFrame>
- Returns the frame with the specified identifier, or NULL if not found.
GetFrame(<str> name) -> <CefFrame>
- Returns the frame with the specified name, or NULL if not found.
GetFrameCount() -> <int>
- Returns the number of frames that currently exist.
GetFrameIdentifiers(<int[]> identifiers)
- Returns the identifiers of all existing frames.
GetFrameNames(<str[]> names)
- Returns the names of all existing frames.
SendProcessMessage(<int> target_process, <CefProcessMessage> message) -> <bool>
- Send a message to the specified |target_process|. Returns true if the message was sent successfully.