[This is preliminary documentation and is subject to change.]
The CefMessageRouterBrowserSide Handler type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() |
Allows an (Inherited from ![]() ![]() ![]() |
![]() | ![]() |
Serves as a hash function for a particular type.
(Inherited from ![]() |
![]() | ![]() |
Gets the (Inherited from ![]() ![]() |
![]() | ![]() |
Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | OnQuery |
Executed when a new query is received. |query_id| uniquely identifies the
query for the life span of the router. Return true to handle the query
or false to propagate the query to other registered handlers, if any. If
no handlers return true from this method then the query will be
automatically canceled with an error code of -1 delivered to the
JavaScript onFailure callback. If this method returns true then a
Callback method must be executed either in this method or asynchronously
to complete the query.
|
![]() | OnQueryCanceled |
Executed when a query has been canceled either explicitly using the
JavaScript cancel function or implicitly due to browser destruction,
navigation or renderer process termination. It will only be called for
the single handler that returned true from OnQuery for the same
|query_id|. No references to the associated Callback object should be
kept after this method is called, nor should any Callback methods be
executed.
|
![]() | ![]() | (Inherited from ![]() |
See Also