mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Improve scheme handler documentation.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1233 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -54,11 +54,12 @@ class CefSchemeHandlerFactory;
|
||||
// will cause the factory to match all domain names. The |domain_name| value
|
||||
// will be ignored for non-standard schemes. If |scheme_name| is a built-in
|
||||
// scheme and no handler is returned by |factory| then the built-in scheme
|
||||
// handler factory will be called. If |scheme_name| is a custom scheme the
|
||||
// CefRegisterCustomScheme() function should be called for that scheme.
|
||||
// handler factory will be called. If |scheme_name| is a custom scheme then
|
||||
// also implement the CefApp::OnRegisterCustomSchemes() method in all processes.
|
||||
// This function may be called multiple times to change or remove the factory
|
||||
// that matches the specified |scheme_name| and optional |domain_name|.
|
||||
// Returns false if an error occurs. This function may be called on any thread.
|
||||
// Returns false if an error occurs. This function may be called on any thread
|
||||
// in the browser process.
|
||||
///
|
||||
/*--cef(optional_param=domain_name,optional_param=factory)--*/
|
||||
bool CefRegisterSchemeHandlerFactory(
|
||||
@ -68,7 +69,7 @@ bool CefRegisterSchemeHandlerFactory(
|
||||
|
||||
///
|
||||
// Clear all registered scheme handler factories. Returns false on error. This
|
||||
// function may be called on any thread.
|
||||
// function may be called on any thread in the browser process.
|
||||
///
|
||||
/*--cef()--*/
|
||||
bool CefClearSchemeHandlerFactories();
|
||||
|
Reference in New Issue
Block a user