(default)
Class CefGeolocationHandler
CefBase
|
+--CefGeolocationHandler
in cef_geolocation_handler.h
- class CefGeolocationHandler
- extends CefBase
Implement this interface to handle events related to geolocation permission
requests. The methods of this class will be called on the browser process UI
thread.
OnCancelGeolocationPermission
public virtual void OnCancelGeolocationPermission( CefRefPtr< CefBrowser > browser, const CefString& requesting_url, int request_id );
- Called when a geolocation access request is canceled. |requesting_url| is
the URL that originally requested permission and |request_id| is the unique
ID for the permission request.
OnRequestGeolocationPermission
public virtual void OnRequestGeolocationPermission( CefRefPtr< CefBrowser > browser, const CefString& requesting_url, int request_id, CefRefPtr< CefGeolocationCallback > callback );
- 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.
Chromium Embedded Framework (CEF) Copyright © 2011 Marshall A. Greenblatt