Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 1123
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(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.


Method Summary
 virtual void OnCancelGeolocationPermission( CefRefPtr< CefBrowser > browser, const CefString& requesting_url, int request_id )
          Called when a geolocation access request is canceled.
 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.
   
Methods inherited from class CefBase
AddRef, Release, GetRefCt
 

Method Detail

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.

 Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 1123
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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