DefaultRequestHandlerOnQuotaRequest Method |
Version 73.1.130
Called when JavaScript requests a specific storage quota size via the webkitStorageInfo.requestQuota function.
For async processing return true and execute
Continue(Boolean) at a later time to
grant or deny the request or
Cancel to cancel.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax public virtual bool OnQuotaRequest(
IWebBrowser browserControl,
IBrowser browser,
string originUrl,
long newSize,
IRequestCallback callback
)
public:
virtual bool OnQuotaRequest(
IWebBrowser^ browserControl,
IBrowser^ browser,
String^ originUrl,
long long newSize,
IRequestCallback^ callback
)
Parameters
- browserControl
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - originUrl
- Type: SystemString
the origin of the page making the request - newSize
- Type: SystemInt64
is the requested quota size in bytes - callback
- Type: CefSharpIRequestCallback
Callback interface used for asynchronous continuation of url requests.
Return Value
Type:
BooleanReturn false to cancel the request immediately. Return true to continue the request
and call
Continue(Boolean) either in this method or at a later time to
grant or deny the request.
Implements
IRequestHandlerOnQuotaRequest(IWebBrowser, IBrowser, String, Int64, IRequestCallback)See Also