Fix documentation error in CefRequestHandler (issue #836).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1011 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-01-17 19:05:04 +00:00
parent f1ebd3561f
commit df3ca9e022
2 changed files with 7 additions and 8 deletions

View File

@ -132,9 +132,8 @@ typedef struct _cef_request_handler_t {
// Called on the IO thread when the browser needs credentials from the user. // Called on the IO thread when the browser needs credentials from the user.
// |isProxy| indicates whether the host is a proxy server. |host| contains the // |isProxy| indicates whether the host is a proxy server. |host| contains the
// hostname and |port| contains the port number. Return true (1) to continue // hostname and |port| contains the port number. Return true (1) to continue
// the request and call cef_auth_callback_t::Complete() when the // the request and call cef_auth_callback_t::cont() when the authentication
// authentication information is available. Return false (0) to cancel the // information is available. Return false (0) to cancel the request.
// request.
/// ///
int (CEF_CALLBACK *get_auth_credentials)(struct _cef_request_handler_t* self, int (CEF_CALLBACK *get_auth_credentials)(struct _cef_request_handler_t* self,
struct _cef_browser_t* browser, struct _cef_frame_t* frame, int isProxy, struct _cef_browser_t* browser, struct _cef_frame_t* frame, int isProxy,
@ -145,9 +144,9 @@ typedef struct _cef_request_handler_t {
// Called on the IO thread when JavaScript requests a specific storage quota // Called on the IO thread when JavaScript requests a specific storage quota
// 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) and call cef_quota_callback_t::Complete() // size in bytes. Return true (1) and call cef_quota_callback_t::cont() either
// either in this function or at a later time to grant or deny the request. // in this function or at a later time to grant or deny the request. Return
// Return false (0) to cancel the request. // false (0) to cancel the request.
/// ///
int (CEF_CALLBACK *on_quota_request)(struct _cef_request_handler_t* self, int (CEF_CALLBACK *on_quota_request)(struct _cef_request_handler_t* self,
struct _cef_browser_t* browser, const cef_string_t* origin_url, struct _cef_browser_t* browser, const cef_string_t* origin_url,

View File

@ -138,7 +138,7 @@ class CefRequestHandler : public virtual CefBase {
// Called on the IO thread when the browser needs credentials from the user. // Called on the IO thread when the browser needs credentials from the user.
// |isProxy| indicates whether the host is a proxy server. |host| contains the // |isProxy| indicates whether the host is a proxy server. |host| contains the
// hostname and |port| contains the port number. Return true to continue the // hostname and |port| contains the port number. Return true to continue the
// request and call CefAuthCallback::Complete() when the authentication // request and call CefAuthCallback::Continue() when the authentication
// information is available. Return false to cancel the request. // information is available. Return false to cancel the request.
/// ///
/*--cef(optional_param=realm)--*/ /*--cef(optional_param=realm)--*/
@ -157,7 +157,7 @@ class CefRequestHandler : public virtual CefBase {
// Called on the IO thread when JavaScript requests a specific storage quota // Called on the IO thread when JavaScript requests a specific storage quota
// 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 and call CefQuotaCallback::Complete() either in // size in bytes. Return true and call CefQuotaCallback::Continue() either in
// this function or at a later time to grant or deny the request. Return false // this function or at a later time to grant or deny the request. Return false
// to cancel the request. // to cancel the request.
/// ///