Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3239.1700.g385b2d4
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefGeolocationHandler

CefBaseRefCounted
   |
   +--CefGeolocationHandler

   in cef_geolocation_handler.h

class CefGeolocationHandler
extends CefBaseRefCounted

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.


Method Summary
 virtual void OnCancelGeolocationPermission( CefRefPtr< CefBrowser > browser, int request_id )
          Called when a geolocation access request is canceled.
 virtual bool OnRequestGeolocationPermission( CefRefPtr< CefBrowser > browser, const CefString& requesting_url, int request_id, CefRefPtr< CefGeolocationCallback > callback )
          Called when a page requests permission to access geolocation information.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef
 

Method Detail

OnCancelGeolocationPermission

public virtual void OnCancelGeolocationPermission( CefRefPtr< CefBrowser > browser, int request_id );
Called when a geolocation access request is canceled. |request_id| is the unique ID for the permission request.

OnRequestGeolocationPermission

public virtual bool 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. 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.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3239.1700.g385b2d4
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt