webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::GeolocationClientMock Class Reference

#include <GeolocationClientMock.h>

Inheritance diagram for WebCore::GeolocationClientMock:
WebCore::GeolocationClient

Public Member Functions

 GeolocationClientMock ()
 
virtual ~GeolocationClientMock ()
 
void reset ()
 
void setController (GeolocationController *)
 
void setPosition (PassRefPtr< GeolocationPosition >)
 
void setPositionUnavailableError (const String &errorMessage)
 
void setPermission (bool allowed)
 
int numberOfPendingPermissionRequests () const
 
void geolocationDestroyed () override
 
void startUpdating () override
 
void stopUpdating () override
 
void setEnableHighAccuracy (bool) override
 
GeolocationPositionlastPosition () override
 
void requestPermission (Geolocation *) override
 
void cancelPermissionRequest (Geolocation *) override
 
- Public Member Functions inherited from WebCore::GeolocationClient
void provideGeolocationTo (Page *, GeolocationClient *)
 
void provideGeolocationTo (Page *, GeolocationClient *)
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::GeolocationClient
virtual ~GeolocationClient ()
 
virtual ~GeolocationClient ()
 

Constructor & Destructor Documentation

◆ GeolocationClientMock()

WebCore::GeolocationClientMock::GeolocationClientMock ( )

◆ ~GeolocationClientMock()

virtual WebCore::GeolocationClientMock::~GeolocationClientMock ( )
virtual

Member Function Documentation

◆ cancelPermissionRequest()

void WebCore::GeolocationClientMock::cancelPermissionRequest ( Geolocation )
overridevirtual

◆ geolocationDestroyed()

void WebCore::GeolocationClientMock::geolocationDestroyed ( )
overridevirtual

◆ lastPosition()

GeolocationPosition* WebCore::GeolocationClientMock::lastPosition ( )
overridevirtual

◆ numberOfPendingPermissionRequests()

int WebCore::GeolocationClientMock::numberOfPendingPermissionRequests ( ) const

◆ requestPermission()

void WebCore::GeolocationClientMock::requestPermission ( Geolocation )
overridevirtual

◆ reset()

void WebCore::GeolocationClientMock::reset ( )

◆ setController()

void WebCore::GeolocationClientMock::setController ( GeolocationController *  )

◆ setEnableHighAccuracy()

void WebCore::GeolocationClientMock::setEnableHighAccuracy ( bool  )
overridevirtual

◆ setPermission()

void WebCore::GeolocationClientMock::setPermission ( bool  allowed)

◆ setPosition()

void WebCore::GeolocationClientMock::setPosition ( PassRefPtr< GeolocationPosition )

◆ setPositionUnavailableError()

void WebCore::GeolocationClientMock::setPositionUnavailableError ( const String errorMessage)

◆ startUpdating()

void WebCore::GeolocationClientMock::startUpdating ( )
overridevirtual

◆ stopUpdating()

void WebCore::GeolocationClientMock::stopUpdating ( )
overridevirtual

The documentation for this class was generated from the following file: