Fix incorrectly translated types in capi header comments (see issue #2856)

This commit is contained in:
Marshall Greenblatt 2020-01-09 22:26:05 +02:00
parent 1b85022c58
commit 15226b9332
15 changed files with 63 additions and 63 deletions

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=85c1114638668d2b663a74844840ef50e2efa9f6$ // $hash=ba4033eaf40a8ee24408b89b78496bf1381e7e6b$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_BROWSER_CAPI_H_
@ -829,7 +829,7 @@ typedef struct _cef_browser_host_t {
/// ///
// Returns the extension hosted in this browser or NULL if no extension is // Returns the extension hosted in this browser or NULL if no extension is
// hosted. See cef_request_tContext::LoadExtension for details. // hosted. See cef_request_context_t::LoadExtension for details.
/// ///
struct _cef_extension_t*(CEF_CALLBACK* get_extension)( struct _cef_extension_t*(CEF_CALLBACK* get_extension)(
struct _cef_browser_host_t* self); struct _cef_browser_host_t* self);
@ -837,7 +837,7 @@ typedef struct _cef_browser_host_t {
/// ///
// Returns true (1) if this browser is hosting an extension background script. // Returns true (1) if this browser is hosting an extension background script.
// Background hosts do not have a window and are not displayable. See // Background hosts do not have a window and are not displayable. See
// cef_request_tContext::LoadExtension for details. // cef_request_context_t::LoadExtension for details.
/// ///
int(CEF_CALLBACK* is_background_host)(struct _cef_browser_host_t* self); int(CEF_CALLBACK* is_background_host)(struct _cef_browser_host_t* self);

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=c18e084ad06a04096b1ce50e488cf2276211a66c$ // $hash=2f5721138da26a9d7cce300a635b58dae9f51a4a$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_COOKIE_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_COOKIE_CAPI_H_
@ -141,8 +141,8 @@ typedef struct _cef_cookie_manager_t {
// CefSettings.cache_path if specified or in memory otherwise. If |callback| is // CefSettings.cache_path if specified or in memory otherwise. If |callback| is
// non-NULL it will be executed asnychronously on the UI thread after the // non-NULL it will be executed asnychronously on the UI thread after the
// manager's storage has been initialized. Using this function is equivalent to // manager's storage has been initialized. Using this function is equivalent to
// calling cef_request_tContext::cef_request_context_get_global_context()->GetDe // calling cef_request_context_t::cef_request_context_get_global_context()->GetD
// faultCookieManager(). // efaultCookieManager().
/// ///
CEF_EXPORT cef_cookie_manager_t* cef_cookie_manager_get_global_manager( CEF_EXPORT cef_cookie_manager_t* cef_cookie_manager_get_global_manager(
struct _cef_completion_callback_t* callback); struct _cef_completion_callback_t* callback);

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=36cf362d97cf6f68692f9d8e060cc9306b1d64b1$ // $hash=b50087959cb679e4132f0fccfd23f01f76079018$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_CAPI_H_
@ -72,7 +72,7 @@ typedef struct _cef_extension_t {
/// ///
// Returns the absolute path to the extension directory on disk. This value // Returns the absolute path to the extension directory on disk. This value
// will be prefixed with PK_DIR_RESOURCES if a relative path was passed to // will be prefixed with PK_DIR_RESOURCES if a relative path was passed to
// cef_request_tContext::LoadExtension. // cef_request_context_t::LoadExtension.
/// ///
// The resulting string must be freed by calling cef_string_userfree_free(). // The resulting string must be freed by calling cef_string_userfree_free().
cef_string_userfree_t(CEF_CALLBACK* get_path)(struct _cef_extension_t* self); cef_string_userfree_t(CEF_CALLBACK* get_path)(struct _cef_extension_t* self);
@ -95,7 +95,7 @@ typedef struct _cef_extension_t {
/// ///
// Returns the handler for this extension. Will return NULL for internal // Returns the handler for this extension. Will return NULL for internal
// extensions or if no handler was passed to // extensions or if no handler was passed to
// cef_request_tContext::LoadExtension. // cef_request_context_t::LoadExtension.
/// ///
struct _cef_extension_handler_t*(CEF_CALLBACK* get_handler)( struct _cef_extension_handler_t*(CEF_CALLBACK* get_handler)(
struct _cef_extension_t* self); struct _cef_extension_t* self);
@ -103,7 +103,7 @@ typedef struct _cef_extension_t {
/// ///
// Returns the request context that loaded this extension. Will return NULL // Returns the request context that loaded this extension. Will return NULL
// for internal extensions or if the extension has been unloaded. See the // for internal extensions or if the extension has been unloaded. See the
// cef_request_tContext::LoadExtension documentation for more information // cef_request_context_t::LoadExtension documentation for more information
// about loader contexts. Must be called on the browser process UI thread. // about loader contexts. Must be called on the browser process UI thread.
/// ///
struct _cef_request_context_t*(CEF_CALLBACK* get_loader_context)( struct _cef_request_context_t*(CEF_CALLBACK* get_loader_context)(
@ -118,7 +118,7 @@ typedef struct _cef_extension_t {
/// ///
// Unload this extension if it is not an internal extension and is currently // Unload this extension if it is not an internal extension and is currently
// loaded. Will result in a call to // loaded. Will result in a call to
// cef_extension_tHandler::OnExtensionUnloaded on success. // cef_extension_handler_t::OnExtensionUnloaded on success.
/// ///
void(CEF_CALLBACK* unload)(struct _cef_extension_t* self); void(CEF_CALLBACK* unload)(struct _cef_extension_t* self);
} cef_extension_t; } cef_extension_t;

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=af959ada2c76d9868fa43b1b61a299a90b205949$ // $hash=a13b5b607d5a2108fac5fe75f5ebd2ede7eaef6a$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_HANDLER_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_EXTENSION_HANDLER_CAPI_H_
@ -53,7 +53,7 @@ struct _cef_client_t;
/// ///
// Callback structure used for asynchronous continuation of // Callback structure used for asynchronous continuation of
// cef_extension_tHandler::GetExtensionResource. // cef_extension_handler_t::GetExtensionResource.
/// ///
typedef struct _cef_get_extension_resource_callback_t { typedef struct _cef_get_extension_resource_callback_t {
/// ///
@ -77,7 +77,7 @@ typedef struct _cef_get_extension_resource_callback_t {
/// ///
// Implement this structure to handle events related to browser extensions. The // Implement this structure to handle events related to browser extensions. The
// functions of this structure will be called on the UI thread. See // functions of this structure will be called on the UI thread. See
// cef_request_tContext::LoadExtension for information about extension loading. // cef_request_context_t::LoadExtension for information about extension loading.
/// ///
typedef struct _cef_extension_handler_t { typedef struct _cef_extension_handler_t {
/// ///
@ -86,7 +86,7 @@ typedef struct _cef_extension_handler_t {
cef_base_ref_counted_t base; cef_base_ref_counted_t base;
/// ///
// Called if the cef_request_tContext::LoadExtension request fails. |result| // Called if the cef_request_context_t::LoadExtension request fails. |result|
// will be the error code. // will be the error code.
/// ///
void(CEF_CALLBACK* on_extension_load_failed)( void(CEF_CALLBACK* on_extension_load_failed)(
@ -94,7 +94,7 @@ typedef struct _cef_extension_handler_t {
cef_errorcode_t result); cef_errorcode_t result);
/// ///
// Called if the cef_request_tContext::LoadExtension request succeeds. // Called if the cef_request_context_t::LoadExtension request succeeds.
// |extension| is the loaded extension. // |extension| is the loaded extension.
/// ///
void(CEF_CALLBACK* on_extension_loaded)(struct _cef_extension_handler_t* self, void(CEF_CALLBACK* on_extension_loaded)(struct _cef_extension_handler_t* self,
@ -161,7 +161,7 @@ typedef struct _cef_extension_handler_t {
// tabId parameter (e.g. chrome.tabs.*). |extension| and |browser| are the // tabId parameter (e.g. chrome.tabs.*). |extension| and |browser| are the
// source of the API call. Return the browser that will be acted on by the API // source of the API call. Return the browser that will be acted on by the API
// call or return NULL to act on |browser|. The returned browser must share // call or return NULL to act on |browser|. The returned browser must share
// the same cef_request_tContext as |browser|. Incognito browsers should not // the same cef_request_context_t as |browser|. Incognito browsers should not
// be considered unless the source extension has incognito access enabled, in // be considered unless the source extension has incognito access enabled, in
// which case |include_incognito| will be true (1). // which case |include_incognito| will be true (1).
/// ///

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=451a33c751f88091d9421fd499f2e32d4a227fcc$ // $hash=2b01472d9b9a8cc9d1b2e669c91c2849bdb162e9$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_CAPI_H_
@ -54,7 +54,7 @@ struct _cef_request_context_handler_t;
struct _cef_scheme_handler_factory_t; struct _cef_scheme_handler_factory_t;
/// ///
// Callback structure for cef_request_tContext::ResolveHost. // Callback structure for cef_request_context_t::ResolveHost.
/// ///
typedef struct _cef_resolve_callback_t { typedef struct _cef_resolve_callback_t {
/// ///
@ -168,7 +168,7 @@ typedef struct _cef_request_context_t {
// Tells all renderer processes associated with this context to throw away // Tells all renderer processes associated with this context to throw away
// their plugin list cache. If |reload_pages| is true (1) they will also // their plugin list cache. If |reload_pages| is true (1) they will also
// reload all pages with plugins. // reload all pages with plugins.
// cef_request_tContextHandler::OnBeforePluginLoad may be called to rebuild // cef_request_context_handler_t::OnBeforePluginLoad may be called to rebuild
// the plugin list cache. // the plugin list cache.
/// ///
void(CEF_CALLBACK* purge_plugin_list_cache)( void(CEF_CALLBACK* purge_plugin_list_cache)(
@ -228,7 +228,7 @@ typedef struct _cef_request_context_t {
/// ///
// Clears all certificate exceptions that were added as part of handling // Clears all certificate exceptions that were added as part of handling
// cef_request_tHandler::on_certificate_error(). If you call this it is // cef_request_handler_t::on_certificate_error(). If you call this it is
// recommended that you also call close_all_connections() or you risk not // recommended that you also call close_all_connections() or you risk not
// being prompted again for server certificates if you reconnect quickly. If // being prompted again for server certificates if you reconnect quickly. If
// |callback| is non-NULL it will be executed on the UI thread after // |callback| is non-NULL it will be executed on the UI thread after
@ -250,7 +250,7 @@ typedef struct _cef_request_context_t {
/// ///
// Clears all active and idle connections that Chromium currently has. This is // Clears all active and idle connections that Chromium currently has. This is
// only recommended if you have released all other CEF objects but don't yet // only recommended if you have released all other CEF objects but don't yet
// want to call Cefshutdown(). If |callback| is non-NULL it will be executed // want to call cef_shutdown(). If |callback| is non-NULL it will be executed
// on the UI thread after completion. // on the UI thread after completion.
/// ///
void(CEF_CALLBACK* close_all_connections)( void(CEF_CALLBACK* close_all_connections)(
@ -271,8 +271,8 @@ typedef struct _cef_request_context_t {
// If extension resources will be read from disk using the default load // If extension resources will be read from disk using the default load
// implementation then |root_directory| should be the absolute path to the // implementation then |root_directory| should be the absolute path to the
// extension resources directory and |manifest| should be NULL. If extension // extension resources directory and |manifest| should be NULL. If extension
// resources will be provided by the client (e.g. via cef_request_tHandler // resources will be provided by the client (e.g. via cef_request_handler_t
// and/or cef_extension_tHandler) then |root_directory| should be a path // and/or cef_extension_handler_t) then |root_directory| should be a path
// component unique to the extension (if not absolute this will be internally // component unique to the extension (if not absolute this will be internally
// prefixed with the PK_DIR_RESOURCES path) and |manifest| should contain the // prefixed with the PK_DIR_RESOURCES path) and |manifest| should contain the
// contents that would otherwise be read from the "manifest.json" file on // contents that would otherwise be read from the "manifest.json" file on
@ -281,17 +281,17 @@ typedef struct _cef_request_context_t {
// The loaded extension will be accessible in all contexts sharing the same // The loaded extension will be accessible in all contexts sharing the same
// storage (HasExtension returns true (1)). However, only the context on which // storage (HasExtension returns true (1)). However, only the context on which
// this function was called is considered the loader (DidLoadExtension returns // this function was called is considered the loader (DidLoadExtension returns
// true (1)) and only the loader will receive cef_request_tContextHandler // true (1)) and only the loader will receive cef_request_context_handler_t
// callbacks for the extension. // callbacks for the extension.
// //
// cef_extension_tHandler::OnExtensionLoaded will be called on load success or // cef_extension_handler_t::OnExtensionLoaded will be called on load success
// cef_extension_tHandler::OnExtensionLoadFailed will be called on load // or cef_extension_handler_t::OnExtensionLoadFailed will be called on load
// failure. // failure.
// //
// If the extension specifies a background script via the "background" // If the extension specifies a background script via the "background"
// manifest key then cef_extension_tHandler::OnBeforeBackgroundBrowser will be // manifest key then cef_extension_handler_t::OnBeforeBackgroundBrowser will
// called to create the background browser. See that function for additional // be called to create the background browser. See that function for
// information about background scripts. // additional information about background scripts.
// //
// For visible extension views the client application should evaluate the // For visible extension views the client application should evaluate the
// manifest to determine the correct extension URL to load and then pass that // manifest to determine the correct extension URL to load and then pass that

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=fe927e3bff2650b45332e053b63fb61d712313db$ // $hash=e758d8c53334b91bce818cc6e9f84915778d7827$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_HANDLER_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_CONTEXT_HANDLER_CAPI_H_
@ -87,7 +87,7 @@ typedef struct _cef_request_context_handler_t {
// |plugin_policy| to PLUGIN_POLICY_DISABLED may be cached when // |plugin_policy| to PLUGIN_POLICY_DISABLED may be cached when
// |top_origin_url| is NULL. To purge the plugin list cache and potentially // |top_origin_url| is NULL. To purge the plugin list cache and potentially
// trigger new calls to this function call // trigger new calls to this function call
// cef_request_tContext::PurgePluginListCache. // cef_request_context_t::PurgePluginListCache.
/// ///
int(CEF_CALLBACK* on_before_plugin_load)( int(CEF_CALLBACK* on_before_plugin_load)(
struct _cef_request_context_handler_t* self, struct _cef_request_context_handler_t* self,
@ -113,7 +113,7 @@ typedef struct _cef_request_context_handler_t {
// handling return NULL. To specify a handler for the resource return a // handling return NULL. To specify a handler for the resource return a
// cef_resource_request_handler_t object. This function will not be called if // cef_resource_request_handler_t object. This function will not be called if
// the client associated with |browser| returns a non-NULL value from // the client associated with |browser| returns a non-NULL value from
// cef_request_tHandler::GetResourceRequestHandler for the same request // cef_request_handler_t::GetResourceRequestHandler for the same request
// (identified by cef_request_t::GetIdentifier). // (identified by cef_request_t::GetIdentifier).
/// ///
struct _cef_resource_request_handler_t*( struct _cef_resource_request_handler_t*(

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=f0543a081b43ad33a0e02bdf8b59207d4352ef36$ // $hash=a28219cc8c1cb53faacaf236374c3cf2c0c45bef$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_HANDLER_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_REQUEST_HANDLER_CAPI_H_
@ -138,8 +138,8 @@ typedef struct _cef_request_handler_t {
// be canceled. To allow the resource load to proceed with default handling // be canceled. To allow the resource load to proceed with default handling
// return NULL. To specify a handler for the resource return a // return NULL. To specify a handler for the resource return a
// cef_resource_request_handler_t object. If this callback returns NULL the // cef_resource_request_handler_t object. If this callback returns NULL the
// same function will be called on the associated cef_request_tContextHandler, // same function will be called on the associated
// if any. // cef_request_context_handler_t, if any.
/// ///
struct _cef_resource_request_handler_t*( struct _cef_resource_request_handler_t*(
CEF_CALLBACK* get_resource_request_handler)( CEF_CALLBACK* get_resource_request_handler)(
@ -180,8 +180,8 @@ typedef struct _cef_request_handler_t {
// size via the webkitStorageInfo.requestQuota function. |origin_url| is the // size via the webkitStorageInfo.requestQuota function. |origin_url| is the
// origin of the page making the request. |new_size| is the requested quota // origin of the page making the request. |new_size| is the requested quota
// size in bytes. Return true (1) to continue the request and call // size in bytes. Return true (1) to continue the request and call
// cef_request_tCallback::cont() either in this function or at a later time to // cef_request_callback_t::cont() either in this function or at a later time
// grant or deny the request. Return false (0) to cancel the request // to grant or deny the request. Return false (0) to cancel the request
// immediately. // immediately.
/// ///
int(CEF_CALLBACK* on_quota_request)(struct _cef_request_handler_t* self, int(CEF_CALLBACK* on_quota_request)(struct _cef_request_handler_t* self,
@ -192,7 +192,7 @@ typedef struct _cef_request_handler_t {
/// ///
// Called on the UI thread to handle requests for URLs with an invalid SSL // Called on the UI thread to handle requests for URLs with an invalid SSL
// certificate. Return true (1) and call cef_request_tCallback::cont() either // certificate. Return true (1) and call cef_request_callback_t::cont() either
// in this function or at a later time to continue or cancel the request. // in this function or at a later time to continue or cancel the request.
// Return false (0) to cancel the request immediately. If // Return false (0) to cancel the request immediately. If
// CefSettings.ignore_certificate_errors is set all invalid certificates will // CefSettings.ignore_certificate_errors is set all invalid certificates will

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=a2203cb5bfab20cd4128a11557915c22f21033b8$ // $hash=b9577b495df3990284d4e4a3db2824196175dc91$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_BUNDLE_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_BUNDLE_CAPI_H_
@ -48,7 +48,7 @@ extern "C" {
/// ///
// Structure used for retrieving resources from the resource bundle (*.pak) // Structure used for retrieving resources from the resource bundle (*.pak)
// files loaded by CEF during startup or via the cef_resource_bundle_tHandler // files loaded by CEF during startup or via the cef_resource_bundle_handler_t
// returned from cef_app_t::GetResourceBundleHandler. See CefSettings for // returned from cef_app_t::GetResourceBundleHandler. See CefSettings for
// additional options related to resource bundle loading. The functions of this // additional options related to resource bundle loading. The functions of this
// structure may be called on any thread unless otherwise indicated. // structure may be called on any thread unless otherwise indicated.

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=67463808f6bacde8afd0c0af6c4459a8981adfa2$ // $hash=afc96f188710bd336d09ce479a650aaa3a55357a$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_REQUEST_HANDLER_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_RESOURCE_REQUEST_HANDLER_CAPI_H_
@ -87,7 +87,7 @@ typedef struct _cef_resource_request_handler_t {
// or change the resource load optionally modify |request|. Modification of // or change the resource load optionally modify |request|. Modification of
// the request URL will be treated as a redirect. Return RV_CONTINUE to // the request URL will be treated as a redirect. Return RV_CONTINUE to
// continue the request immediately. Return RV_CONTINUE_ASYNC and call // continue the request immediately. Return RV_CONTINUE_ASYNC and call
// cef_request_tCallback:: cont() at a later time to continue or cancel the // cef_request_callback_t:: cont() at a later time to continue or cancel the
// request asynchronously. Return RV_CANCEL to cancel the request immediately. // request asynchronously. Return RV_CANCEL to cancel the request immediately.
// //
/// ///

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=324e2fd030633115fb8f788da1d07496821a6f58$ // $hash=d93b4ad0b71ffe0a05326b39c3ed0bdb26a73fac$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_SCHEME_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_SCHEME_CAPI_H_
@ -115,9 +115,9 @@ typedef struct _cef_scheme_handler_factory_t {
// function may be called multiple times to change or remove the factory that // function may be called multiple times to change or remove the factory that
// matches the specified |scheme_name| and optional |domain_name|. Returns false // matches the specified |scheme_name| and optional |domain_name|. Returns false
// (0) if an error occurs. This function may be called on any thread in the // (0) if an error occurs. This function may be called on any thread in the
// browser process. Using this function is equivalent to calling cef_request_tCo // browser process. Using this function is equivalent to calling cef_request_con
// ntext::cef_request_context_get_global_context()->register_scheme_handler_fact // text_t::cef_request_context_get_global_context()->register_scheme_handler_fac
// ory(). // tory().
/// ///
CEF_EXPORT int cef_register_scheme_handler_factory( CEF_EXPORT int cef_register_scheme_handler_factory(
const cef_string_t* scheme_name, const cef_string_t* scheme_name,
@ -128,8 +128,8 @@ CEF_EXPORT int cef_register_scheme_handler_factory(
// Clear all scheme handler factories registered with the global request // Clear all scheme handler factories registered with the global request
// context. Returns false (0) on error. This function may be called on any // context. Returns false (0) on error. This function may be called on any
// thread in the browser process. Using this function is equivalent to calling c // thread in the browser process. Using this function is equivalent to calling c
// ef_request_tContext::cef_request_context_get_global_context()->clear_scheme_h // ef_request_context_t::cef_request_context_get_global_context()->clear_scheme_
// andler_factories(). // handler_factories().
/// ///
CEF_EXPORT int cef_clear_scheme_handler_factories(); CEF_EXPORT int cef_clear_scheme_handler_factories();

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=3ecfe39286ee3579eb38415ab36d3fec83712abc$ // $hash=025daa5db3bf16029953da7703e3e5968bd97fe2$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_TASK_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_TASK_CAPI_H_
@ -132,19 +132,19 @@ CEF_EXPORT cef_task_runner_t* cef_task_runner_get_for_thread(
/// ///
// Returns true (1) if called on the specified thread. Equivalent to using // Returns true (1) if called on the specified thread. Equivalent to using
// cef_task_tRunner::GetForThread(threadId)->belongs_to_current_thread(). // cef_task_runner_t::GetForThread(threadId)->belongs_to_current_thread().
/// ///
CEF_EXPORT int cef_currently_on(cef_thread_id_t threadId); CEF_EXPORT int cef_currently_on(cef_thread_id_t threadId);
/// ///
// Post a task for execution on the specified thread. Equivalent to using // Post a task for execution on the specified thread. Equivalent to using
// cef_task_tRunner::GetForThread(threadId)->PostTask(task). // cef_task_runner_t::GetForThread(threadId)->PostTask(task).
/// ///
CEF_EXPORT int cef_post_task(cef_thread_id_t threadId, cef_task_t* task); CEF_EXPORT int cef_post_task(cef_thread_id_t threadId, cef_task_t* task);
/// ///
// Post a task for delayed execution on the specified thread. Equivalent to // Post a task for delayed execution on the specified thread. Equivalent to
// using cef_task_tRunner::GetForThread(threadId)->PostDelayedTask(task, // using cef_task_runner_t::GetForThread(threadId)->PostDelayedTask(task,
// delay_ms). // delay_ms).
/// ///
CEF_EXPORT int cef_post_delayed_task(cef_thread_id_t threadId, CEF_EXPORT int cef_post_delayed_task(cef_thread_id_t threadId,

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=1f462f42bf69d259b876c1ad8245a3e0484b3804$ // $hash=370cdeaa3252a9ed0e1a627d858dcab23af24ee1$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_THREAD_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_THREAD_CAPI_H_
@ -49,7 +49,7 @@ extern "C" {
/// ///
// A simple thread abstraction that establishes a message loop on a new thread. // A simple thread abstraction that establishes a message loop on a new thread.
// The consumer uses cef_task_tRunner to execute code on the thread's message // The consumer uses cef_task_runner_t to execute code on the thread's message
// loop. The thread is terminated when the cef_thread_t object is destroyed or // loop. The thread is terminated when the cef_thread_t object is destroyed or
// stop() is called. All pending tasks queued on the thread's message loop will // stop() is called. All pending tasks queued on the thread's message loop will
// run to completion before the thread is terminated. cef_thread_create() can be // run to completion before the thread is terminated. cef_thread_create() can be
@ -65,7 +65,7 @@ typedef struct _cef_thread_t {
cef_base_ref_counted_t base; cef_base_ref_counted_t base;
/// ///
// Returns the cef_task_tRunner that will execute code on this thread's // Returns the cef_task_runner_t that will execute code on this thread's
// message loop. This function is safe to call from any thread. // message loop. This function is safe to call from any thread.
/// ///
struct _cef_task_runner_t*(CEF_CALLBACK* get_task_runner)( struct _cef_task_runner_t*(CEF_CALLBACK* get_task_runner)(

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=e40cee272e6edd3789896bef6b43e05cc517c424$ // $hash=63d875f5a922dd2c2e1efaaf0ddaa20475f79ef8$
// //
#ifndef CEF_INCLUDE_CAPI_CEF_URLREQUEST_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_CEF_URLREQUEST_CAPI_H_
@ -195,7 +195,7 @@ typedef struct _cef_urlrequest_client_t {
// the request and call cef_auth_callback_t::cont() when the authentication // the request and call cef_auth_callback_t::cont() when the authentication
// information is available. If the request has an associated browser/frame // information is available. If the request has an associated browser/frame
// then returning false (0) will result in a call to GetAuthCredentials on the // then returning false (0) will result in a call to GetAuthCredentials on the
// cef_request_tHandler associated with that browser, if any. Otherwise, // cef_request_handler_t associated with that browser, if any. Otherwise,
// returning false (0) will cancel the request immediately. This function will // returning false (0) will cancel the request immediately. This function will
// only be called for requests initiated from the browser process. // only be called for requests initiated from the browser process.
/// ///

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=deae5180f995f35ff2db04b2c5396577300c315b$ // $hash=a5d8033127cf2d21f1cb0c87f76d2d59ec3eace0$
// //
#ifndef CEF_INCLUDE_CAPI_TEST_CEF_TRANSLATOR_TEST_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_TEST_CEF_TRANSLATOR_TEST_CAPI_H_
@ -323,7 +323,7 @@ typedef struct _cef_translator_test_t {
/// ///
// Set an object. Returns the value from // Set an object. Returns the value from
// cef_translator_test_tRefPtrClient::get_value(). This tests input and // cef_translator_test_ref_ptr_client_t::get_value(). This tests input and
// execution of a client-side object type. // execution of a client-side object type.
/// ///
int(CEF_CALLBACK* set_ref_ptr_client)( int(CEF_CALLBACK* set_ref_ptr_client)(
@ -341,7 +341,7 @@ typedef struct _cef_translator_test_t {
/// ///
// Set a child object. Returns the value from // Set a child object. Returns the value from
// cef_translator_test_tRefPtrClient::get_value(). This tests input of a // cef_translator_test_ref_ptr_client_t::get_value(). This tests input of a
// client- side child object type and execution as the parent type. // client- side child object type and execution as the parent type.
/// ///
int(CEF_CALLBACK* set_child_ref_ptr_client)( int(CEF_CALLBACK* set_child_ref_ptr_client)(

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for // by hand. See the translator.README.txt file in the tools directory for
// more information. // more information.
// //
// $hash=72d10c0974ced675d89aa54db60de845978f6319$ // $hash=3b9789f2149c3e6d6a2e671e5427c19654442ede$
// //
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_SCROLL_VIEW_CAPI_H_ #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_SCROLL_VIEW_CAPI_H_
@ -59,7 +59,7 @@ typedef struct _cef_scroll_view_t {
/// ///
// Set the content View. The content View must have a specified size (e.g. via // Set the content View. The content View must have a specified size (e.g. via
// cef_view_t::SetBounds or cef_view_tDelegate::GetPreferredSize). // cef_view_t::SetBounds or cef_view_delegate_t::GetPreferredSize).
/// ///
void(CEF_CALLBACK* set_content_view)(struct _cef_scroll_view_t* self, void(CEF_CALLBACK* set_content_view)(struct _cef_scroll_view_t* self,
struct _cef_view_t* view); struct _cef_view_t* view);