[This is preliminary documentation and is subject to change.]
The CefMessageRouterBrowserSide Handler type exposes the following members.Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
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.
| |
ToString | (Inherited from Object.) |
See Also