QCefView
|
QCefView inserts JavaScript bridge object and methods to window
object for all browsers frames, with these bridge object you can perform communication between native and web context at anytime
This is main bridge object injected to all browser and frames by QCefView. And the object name can be specified by QCefConfig::setBridgeObjectName
.
Adds a listener for the event with specified name
name
The event namelistener
The listener callback functionRemoves the listener for the event with specified name
name
The event namelistener
The listener callback functionInvokes a native method with the specified name and arguments
invokeMethod(name, ...args)
was deprecated by new method: invoke(name, ...args)
.(renamed)name
The method name..args
The arguments for the methodSends a cef query request to the native context
window.CefViewQuery
was deprecated by new method: window.cefViewQuery
. (uncapitalized)query
The query objectCancels the query request with the specified id
window.CefViewQueryCancel
was deprecated by new method: window.cefViewQueryCancel
. (uncapitalized)id
The query id