public interface CefMessageRouterHandler extends CefNative
| Modifier and Type | Method and Description |
|---|---|
boolean |
onQuery(CefBrowser browser,
CefFrame frame,
long queryId,
java.lang.String request,
boolean persistent,
CefQueryCallback callback)
Called when the browser receives a JavaScript query.
|
void |
onQueryCanceled(CefBrowser browser,
CefFrame frame,
long queryId)
Called when a pending JavaScript query is canceled.
|
getNativeRef, setNativeRefboolean onQuery(CefBrowser browser, CefFrame frame, long queryId, java.lang.String request, boolean persistent, CefQueryCallback callback)
browser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.queryId - The unique ID for the query.persistent - True if the query is persistent.callback - Object used to continue or cancel the query asynchronously.void onQueryCanceled(CefBrowser browser, CefFrame frame, long queryId)
browser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.queryId - The unique ID for the query.