mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefHandler::HandleAuthenticationRequest for handling authentication requests (issue #150).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@158 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -178,6 +178,20 @@ CefHandler::RetVal CefHandlerCToCpp::HandleDownloadResponse(
|
||||
return rv;
|
||||
}
|
||||
|
||||
CefHandler::RetVal CefHandlerCToCpp::HandleAuthenticationRequest(
|
||||
CefRefPtr<CefBrowser> browser, bool isProxy, const CefString& host,
|
||||
const CefString& realm, const CefString& scheme, CefString& username,
|
||||
CefString& password)
|
||||
{
|
||||
if(CEF_MEMBER_MISSING(struct_, handle_authentication_request))
|
||||
return RV_CONTINUE;
|
||||
|
||||
return struct_->handle_authentication_request(struct_,
|
||||
CefBrowserCppToC::Wrap(browser), isProxy,
|
||||
host.GetStruct(), realm.GetStruct(), scheme.GetStruct(),
|
||||
username.GetWritableStruct(), password.GetWritableStruct());
|
||||
}
|
||||
|
||||
CefHandler::RetVal CefHandlerCToCpp::HandleBeforeMenu(
|
||||
CefRefPtr<CefBrowser> browser, const MenuInfo& menuInfo)
|
||||
{
|
||||
|
Reference in New Issue
Block a user