mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 280796.
- Mac: Remove Carbon interpose library (see http://crbug.com/157130). - Remove unused LOGSEVERITY_ERROR_REPORT value (see http://crbug.com/352378). - CefURLRequest in the render process will now always have the UR_FLAG_REPORT_LOAD_TIMING flag set (see http://crbug.com/376025#c15). - Change CefGeolocationHandler::OnRequestGeolocationPermission return value from void to boolean. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1753 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -67,15 +67,18 @@ class CefGeolocationHandler : public virtual CefBase {
|
||||
///
|
||||
// Called when a page requests permission to access geolocation information.
|
||||
// |requesting_url| is the URL requesting permission and |request_id| is the
|
||||
// unique ID for the permission request. Call CefGeolocationCallback::Continue
|
||||
// to allow or deny the permission request.
|
||||
// unique ID for the permission request. Return true and call
|
||||
// CefGeolocationCallback::Continue() either in this method or at a later
|
||||
// time to continue or cancel the request. Return false to cancel the request
|
||||
// immediately.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnRequestGeolocationPermission(
|
||||
virtual bool OnRequestGeolocationPermission(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefString& requesting_url,
|
||||
int request_id,
|
||||
CefRefPtr<CefGeolocationCallback> callback) {
|
||||
return false;
|
||||
}
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user